Posted on June 5, 2009, 7:48 pm, by Rhys, under
MySQL,
T-SQL.
Several weeks ago I posted an article about Non-SELECT Joins in T-SQL and MySQL. The examples only covered INNER JOINS but sometimes we need to update, or delete, records in a table that do not have a corresponding record in another table. I’m going to illustrate the various methods for doing this in SQL Server [...]
Posted on May 6, 2009, 7:00 pm, by Rhys, under
MySQL,
T-SQL.
If you ever have to do any ETL type work then at some point you’re probably going to have to work with data on a daily batch basis. Many people make use of the DATEPART function in T-SQL, or the DATE function in MySQL for this type of work. If you do something like… TSQL [...]
Posted on May 1, 2009, 12:49 pm, by Rhys, under
Tweet-SQL.
Tweet-SQL version 2 supports the new Twitter social graph API methods. These are two very simple methods to get all of your followers, or friends, Twitter user ids. There are four procedures in Tweet-SQL that support these methods. tweet_sog_followers – Returns the ids of the authenticating users followers or, if a non-null value is supplied [...]
Posted on April 28, 2009, 7:05 pm, by Rhys, under
Tweet-SQL.
Using the new version of Tweet-SQL you can consume data from the Twitter Search API. The data in Twitter Search is constantly updated with new tweets so anything you grab out of the API is near real-time. To perform a query with Tweet-SQL run the following T-SQL; ?View Code TSQLEXEC dbo.tweet_src_search ‘MC Frontalot’, null, null; [...]
Posted on April 21, 2009, 8:23 pm, by Rhys, under
MySQL,
T-SQL.
I read a great article, by Pinal Dave, on SQL Joins this week. I thought I’d add something for Non-SELECT joins as I’ve noticed a few developers missing these in their armoury. It doesn’t help that there is no standard so every database implements this differently. This is one of the few occasions where you [...]