Viewing 15 posts - 16 through 30 (of 187 total)
Easier question with lot more information.
May 23, 2013 at 3:24 am
Hugo,
In this scenario, eventhough if we run both insert statements as single batch, first statement will be executed successfully and we will get error only on second one rite?...
May 23, 2013 at 3:10 am
Hugo Kornelis (5/18/2013)
sea4stars (5/18/2013)
May 23, 2013 at 1:43 am
Earlier I'm aware of Index and constraints will not be transferred to destination table..but about Computed columns i came to know only from this QotD. Thanks kapil.
May 23, 2013 at 1:37 am
Danny Ocean (5/22/2013)
Basic and easy one.:-)Thanks for question !!!
+1
May 23, 2013 at 1:22 am
Calibear (5/21/2013)
May 22, 2013 at 8:43 am
nenad-zivkovic (4/24/2013)
kapil_kk (4/23/2013)
I was not aware of the fact that after making
SET IDENTITY_INSERT dbo.Test OFF;
identity value gets incremented. I am confused now as what is the purpose of...
April 24, 2013 at 4:20 am
Kapil good going...
Good chance to recall return types & Data type precedence of ISNULL,CONVERT & CASE...
April 22, 2013 at 5:45 am
Thanks for your reply Hugo.
Hugo Kornelis (4/19/2013)
By the way, it's very easy to check this kind of questions for yourself. Just copy the code in SSMS, make changes, and see...
April 19, 2013 at 2:04 am
Thanks Hugo..
If insert statement was within Explicit transaction then even first row will not be inserted and the result of final query will be 0. Am I right?
Whether XACT_ABORT...
April 18, 2013 at 10:54 pm
srienstr (4/18/2013) I find it more useful to get count to ignore certain values using count(nullif(ProviderName,''))
Nice...
April 18, 2013 at 6:31 am
Hugo Kornelis (4/18/2013)
Dineshbabu (4/18/2013)
Is there anyway to make COUNT() to consider even NULL values?? I mean any set options or something like that?Yes. Just use COUNT(*).
Thanks man.. You hit me...
April 18, 2013 at 6:28 am
Viewing 15 posts - 16 through 30 (of 187 total)