I think one thing I'd like to see in a future release of SQL is the ability to use variables with the USE command. I should be able to do this:
DECLARE @DBName VARCHAR(10) = "MyDB"
USE @DBName
but instead I have to write some dynamic SQL, and it's just a bigger pain the rear end than it needs to be.
Wednesday, November 4, 2009
Subscribe to:
Posts (Atom)