Nimal blogs here
1 Jan 2008
Happy New Year 2008…!
I just wanted to put something on my blog on the 1st and so this is. But I have no specific things to say here. Normally many bloggers have written about the past, the furute and so many other things, but I have no such specific plans or may be I don’t know how to put them in words.
So I just wanted to mention one thing I just noticed on my blog, that this is my 51st post, meaning, I just finished my 50th post in 2007 starting from My blog, I’m learning… on Wednesday, July 19, 2006 to this on December 27, 2007. Other than that there is nothing special or significant to share for now.
Finally let be say this, ‘Its a new year, and I want to do some new things and continue with many other things I was doing, in my best possible way’.
And thanks for coming to my blog
Good luck to everyone and I wish you a happiness and success in this new year…!
27 Dec 2007
The INTERSECT and EXCEPT operators of SQL are not supported in MySQL. So there there seems a workaround, you use a join with all corresponding attributes equated in place of an intersection.
For instance, to get the intersection of R(a,b) and S(a,b), write:
SELECT DISTINCT *
FROM R
WHERE EXISTS (SELECT * FROM S WHERE R.a = S.a AND R.b = S.b);
To get the set difference, here is a similar approach using a sub query:
SELECT DISTINCT *
FROM R
WHERE NOT EXISTS (SELECT * FROM S WHERE R.a = S.a AND R.b = S.b);
Note that both these expressions eliminate duplicates, but that is in accordance with the SQL standard.
So for example for something like this using EXCEPT,
SELECT T.data_id from table T
WHERE T.keyword = 'google'
EXCEPT
SELECT T2.data_id from table T2
WHERE T2.keyword = 'yahoo'
Would become,
SELECT T.data_id
FROM table T
WHERE T.keyword = 'google '
AND NOT EXISTS (
SELECT T2.data_id
FROM table T2
WHERE T2.keyword = 'yahoo '
AND T2.data_id = T1.data_id
)
This is just a small workaround that works for me, and I had to spend sometime finding this solution. So this is just for a reference of mine sometime later, but if its useful to anyone of you that would be great.
26 Dec 2007
Hi All,
Saving Electricity is very important. So please read this doc & see whether we can do that. Then forward as much as possible.
17 Dec 2007
Lightning is the working project name for an extension to tightly integrate calendar functionality (scheduling, tasks, etc.) into Thunderbird. Lightning brings the Sunbird calendar to the popular email client, Mozilla Thunderbird. Since it's an extension, Lightning is tightly integrated with Thunderbird, allowing it to easily perform email-related calendaring tasks.
Lightning is an iCalendar compatible integrated calendar application for Thunderbird and its just the perfect choice for me and gives me great flexibility and usability on day to day activities. Now you can directly addIt can be downloaded from https://addons.mozilla.org/en-US/thunderbird/addon/2313
Provider for Google Calendar is a Thunderbird extension that allows bidirectional access to Google Calendar. This extension allows Lightning to read and write events to a Google Calendar. And now all my existing Google Calender data a displayed in the Lightning calender and the updated I make are synchronized bidirectionally. It can be downloaded from https://addons.mozilla.org/en-US/thunderbird/addon/4631
5 Dec 2007
Disclaimer: This is not a movie review or comparison of that sort. I just wanted to write something about some of the movies I watched during the month of November, 2007. If you are interested about these movies, just check on Wikipedia or IMDB or just Google.
Comments: Good movie to watch. Its about a couple who are getting married, and they had to complete a course before, which helps them understand each other better. Why don’t we really have something like this, here…
Comments:
Comments:
Comments:
Comments:
Comments:
Comments:
Comments:
Comments:
Comments:
Comments:
Comments:
Comments:
Comments:
Comments:
Comments:
Comments:
This month has been too much I suppose, its more than above my target of 8-10 a month. And I’m feeling lazy to write comments. I’ll update those when I’m not so.
Recent Comments