A blog about SQL Server, Books, Movies and life in general
SELECT GETDATE() produces exactly what is expected, provided you allow for the time it takes in between the first SELECT GETDATE() and the second SELECT GETDATE()what was the point of this teaser?
Rudy,It is not the select date, it is the GO that will throw an error on the 2nd code pieceDenis
I don't have 2005 to test with at the moment, but it doesn't throw an error on my SQL 2000 system.
SELECT GETDATE() produces exactly what is expected, provided you allow for the time it takes in between the first SELECT GETDATE() and the second SELECT GETDATE()
ReplyDeletewhat was the point of this teaser?
Rudy,
ReplyDeleteIt is not the select date, it is the GO that will throw an error on the 2nd code piece
Denis
I don't have 2005 to test with at the moment, but it doesn't throw an error on my SQL 2000 system.
ReplyDelete