Viewing 15 posts - 616 through 630 (of 717 total)
Also, if the identity increment was -1, then both option 1 and 3 would be correct, as there is no clustered index to order it, and no ORDER BY statement...
June 28, 2010 at 12:32 am
Interesting that the - got in the wrong place in the question, I saw the "-0" and thought that something might be up, but I picked that option anyhow since...
June 28, 2010 at 12:30 am
Hugo Kornelis (6/25/2010)Please, people - NEVER USE CODE LIKE THIS IN PRODUCTION CODE!!!!
I agree, but I think variable concatenation is very commonly used, so it is important for people to...
June 25, 2010 at 12:18 pm
Hugo KornelisI did read your post, but the Connect item you linked to was not what I meant when I wrote that I knew this to be documented by MS....
June 25, 2010 at 12:15 pm
Great question, and a very understandable explanation. Thanks!
June 24, 2010 at 11:28 pm
Interesting question, thanks.
Thanks Oleg for the explanation of why it happens, I think most people don't already know that, so it is very helpful.
June 23, 2010 at 11:10 am
Trey Staker (6/22/2010)Yep...This is what happended to me too. I don't mind loosing a point if I learn something.
I think it is interesting that people say they are losing...
June 22, 2010 at 1:28 pm
Interesting question, but I don't know that I would expect everyone to have the system DB IDs memorized. (Or even to know that DBs have IDs.) But given some basic...
June 22, 2010 at 10:50 am
Jonathan AC Roberts (6/21/2010)
Both methods achieve the same thing but using certificates is generally recommended. Some things are different for example if there is auditing a table with a trigger...
June 21, 2010 at 6:10 pm
SQL_Elvis (6/21/2010)
June 21, 2010 at 3:27 pm
Nice question, it made me think a more than usual, thanks!
June 21, 2010 at 12:20 pm
I agree only one of the choices seemed to be a disadvantage, which made me wonder if I was missing something.
June 16, 2010 at 9:47 am
I know a little old, but I am going through old questions. I didn't get it correct, as I didn't know that QA didn't properly recognize comments. So I learned...
June 15, 2010 at 5:39 pm
Viewing 15 posts - 616 through 630 (of 717 total)