Viewing 15 posts - 4,561 through 4,575 (of 14,953 total)
Nope. Catch just gets the last one.
Try Catch is more meant to capture runtime issues with data or security/access.
March 22, 2011 at 10:49 am
Red Gate has some tools that can help with that. Things like their data generator and Compare.
March 22, 2011 at 10:47 am
Brandie Tarvin (3/22/2011)
March 22, 2011 at 10:45 am
I've worked in one place where there was definitely an adversarial relationship between the developers in IT and the rest of the business. In that case, it was due...
March 22, 2011 at 9:31 am
You can do that with a CTE and Row_Number pretty easily.
;with CTE as
(select row_number() over (partition by serialnr order by scantime desc) as Row
from dbo.MyTable)
delete top...
March 22, 2011 at 9:18 am
Well, the first thing to check would be the table design. There are designs that help with multiple, concurrent inserts, and designs that cripple them. The most important...
March 21, 2011 at 2:13 pm
What you're looking at is multi-step authentication. Wince, grit your teeth, and do an online search for "kerberos". You can also search for "NT AUTHORITY/ANONYMOUS LOGIN", and you'll...
March 21, 2011 at 2:07 pm
GilaMonster (3/21/2011)
I'm looking for a couple (and I do mean 2) editors for a non-SSC piece on page restores. Please...
March 21, 2011 at 1:54 pm
SELECT DATEADD(DAY, DATEDIFF(day, 0, GETDATE()), 0)
Just put your date column in there where it has getdate.
March 21, 2011 at 11:18 am
WayneS (3/21/2011)
Koen Verbeeck (3/21/2011)
I'm glad I'm not the only Twitter noob around here 😀
It looks like there's quite a few of us jumping into this twitter thing all at once....
March 21, 2011 at 11:13 am
select *
from MyTable
where MyDateColumn >= '3/15/11' and MyDateColumn < '3/16/11';
That's the basic idea.
If the date is a parameter or variable, you can use DateAdd to add 1 day to it...
March 21, 2011 at 11:11 am
Changing to Read Only creates a database level lock, and that can cause lock resolution issues till it finishes completing any existing transactions. I suspect that the change is...
March 21, 2011 at 6:50 am
To answer a few questions you posed specifically for me:
Your coming from the other side. Im new to this and the tools can help find and resolve problems quicker! Then...
March 21, 2011 at 6:37 am
Jeff Moden (3/19/2011)
March 21, 2011 at 6:22 am
You can use an XQuery statement in a join, or a Where clause, but not in that manner. If you try, you'll get an error about "exist" needing a...
March 18, 2011 at 2:17 pm
Viewing 15 posts - 4,561 through 4,575 (of 14,953 total)