Viewing 15 posts - 11,191 through 11,205 (of 15,381 total)
cox1ray (7/26/2012)
July 26, 2012 at 10:04 am
capn.hector (7/26/2012)
vchandm23 (7/25/2012)
@whereSql nvarchar(256)
AS
EXEC('SELECT [fields] FROM WHERE ' + @whereSql)
GO
From stackOverflow website. This is what i was looking for. I am sharing this...
July 26, 2012 at 9:28 am
Stefan Krzywicki (7/26/2012)
Sean Lange (7/26/2012)
Stefan Krzywicki (7/26/2012)
Sean Lange (7/26/2012)
July 26, 2012 at 9:12 am
manub22 (7/26/2012)
It is true you can make cursors more optimal than a while loop but why bother with them at all? In your examples there is absolutely nothing that can't...
July 26, 2012 at 9:07 am
manub22 (7/26/2012)
The reason for the WHILE LOOP is because with CURSOR it is much slower than with WHILE LOOP.
Who said CURSOR is slower than WHILE loops? Didn't you asked them...
July 26, 2012 at 8:51 am
morepainot (7/26/2012)
@jeff; I understand what you said and I will keep that in mind for the next post. The reason for the...
July 26, 2012 at 8:48 am
Stefan Krzywicki (7/26/2012)
Sean Lange (7/26/2012)
July 26, 2012 at 8:17 am
Here's a chuckle for you security types out there. I was trying reset my security questions today on the ADP site because apparently the available questions change from time to...
July 26, 2012 at 8:07 am
ChrisM@Work (7/26/2012)
Sean Lange (7/25/2012)
Phil Parkin (7/25/2012)
July 26, 2012 at 7:25 am
edward_hall76 (7/25/2012)
July 26, 2012 at 7:17 am
Welsh Corgi (7/25/2012)
This procedure will be executed in an SSIS Package.
If someone...
July 26, 2012 at 7:12 am
Welsh Corgi (7/25/2012)
Sean Lange (7/25/2012)
July 25, 2012 at 3:37 pm
I think the OP is having problems with his application and not sql. In other words the 3.5 Million rows is too much for his .NET app. I suspect the...
July 25, 2012 at 3:35 pm
What is the question? I am not sure where you are stuck. You built your proc to log the error. Now just raise it again inside your catch to have...
July 25, 2012 at 3:26 pm
That looks correct. Did you try it? It might make things more clear if instead of calling RAISERROR yourself change the try block to something that will raise and error.
BEGIN...
July 25, 2012 at 2:36 pm
Viewing 15 posts - 11,191 through 11,205 (of 15,381 total)