Viewing 15 posts - 2,221 through 2,235 (of 6,486 total)
Doug (12/3/2008)
Lynn Pettis (12/3/2008)
I added a BEGIN TRANSACTION in front of your script so I could ROLLBACK afterwards, which I did.
This in itself might be why Lynn's...
December 3, 2008 at 6:54 pm
Lynn Pettis (12/3/2008)
December 3, 2008 at 4:02 pm
GSquared (12/3/2008)
December 3, 2008 at 10:07 am
umanpowered (12/3/2008)
rbarryyoung (11/3/2008)
As Jonathan said: "getdate()" needs to be the definition of the column's default value, and not the definition of the column itself.
Hi,
As a side question, do you know...
December 3, 2008 at 9:16 am
Sergiy (12/1/2008)
Matt Miller (12/1/2008)
December 1, 2008 at 12:37 pm
Paul DB (11/26/2008)
Matt Miller (9/15/2008)
December 1, 2008 at 11:25 am
Jeff Moden (11/28/2008)
Jportelas (11/28/2008)
Seems like trying to cover all the failure scenarios...
December 1, 2008 at 11:11 am
GilaMonster (11/29/2008)
Does...
November 30, 2008 at 5:53 am
Even with the 2005 TRY/CATCH, you can't prevent EVERY error from bubbling back up. Some failures are so egregious - they're going to bust you up and that's it.
You...
November 28, 2008 at 7:47 pm
Actually - one way to make sure that the recordset is read only is to use something like DISTINCT in there (assuming that in itself doesn't alter your query in...
November 28, 2008 at 7:34 pm
gan (11/27/2008)
Michael Valentine Jones (11/25/2008)
Lynn Pettis (11/25/2008)
...Besides, this discussion has remained relatively positive (so far)...
In that case, let me jump in. 😀
There are many opinions of this subject, but I...
November 28, 2008 at 7:28 pm
Jeff Moden (11/26/2008)
Matt Miller (11/26/2008)
November 28, 2008 at 7:22 pm
v.reddy (11/26/2008)
Thanks for the response,
i was tried with Trace, but its shows only after exection, not before execution of sql statements.
i would like to capture statement before exuction and...
November 27, 2008 at 8:18 pm
Not sure - this works for me:
select * from
(select Somecode, datename(month,dateadd(day,someid,getdate())) as Reg_Month, SomeCodeNotNull
from testdata) as a
...
November 26, 2008 at 8:52 pm
Shandy (11/26/2008)
November 26, 2008 at 7:22 pm
Viewing 15 posts - 2,221 through 2,235 (of 6,486 total)