Viewing 6 posts - 31 through 36 (of 36 total)
I think this was a good demonstration of where these 2005+ features can be useful. I have a job coming up where this could really help.
IMO, none of the few...
May 12, 2009 at 2:38 pm
Or something like:
UPDATE tbl_Question1Answers FROM
INSERTED JOIN tbl_Question1Answers ON INSERTED.<PrimaryKey> = tbl_Question1Answers.<PrimaryKey>
SET lastupdated = getdate()
For your scenario, I'm not aware of any significant practical difference between this and Gail's suggestion, I...
January 11, 2009 at 4:34 am
lars (11/23/2008)
this error msg.
Meldung 208, Ebene 16, Status 0, Prozedur _SPLOG_AutoGenStatements, Zeile 177
unknown Objectname '#sp'.
is there something missing...
November 23, 2008 at 8:59 pm
I went through a similar exercise not long ago...
I haven't actually run the code from this article, since I'm quite happy with mine :P, but looked through it and...
November 23, 2008 at 8:42 pm
RE: CR/LF/NewLine (Cade Roux)
Actually, with Transact-SQL, it's even easier, just embed the newline in your string. Try this in your Management Studio/Query Analyzer
SELECT 'This is a string
with some
embedded new line...
November 23, 2008 at 7:50 pm
Ok, so I'm a (posting) noob on this site, but aren't loops discouraged in these forums?
If you have a zero-based Tally table, you can replace your initializer and loop with...
October 27, 2008 at 11:35 pm
Viewing 6 posts - 31 through 36 (of 36 total)