Viewing 15 posts - 211 through 225 (of 362 total)
[font="Verdana"]check the connection string, which database you have mentioned in it. Correct it with the desired DB Name.
Mahesh[/font]
May 6, 2008 at 12:03 am
[font="Verdana"]
rbarryyoung (4/30/2008)
Mahesh Bote (4/28/2008)
[font="Verdana"]Second approach is much better than first one. It will decrease the network traffic tremendously.[/font]I'm not sure that I follow this, Mahesh. Could you explain why?
Sorry...
May 5, 2008 at 11:17 pm
[font="Verdana"]Ohh... I got it. Hopes the below url will help you out.
http://www.sqlservercentral.com/articles/Advanced+Querying/61716/
you need to just add your condition there.
Mahesh
[/font]
May 5, 2008 at 6:32 am
[font="Verdana"]You havn't posted the exact example. Coz you stated, you need summation of the number table, but on the basis of your example on what basis you need summation?
If you...
May 5, 2008 at 5:48 am
[font="Verdana"]Views stores query with execution plan. So I think using views might be better over using tables directly.
Mahesh[/font]
May 5, 2008 at 5:35 am
[font="Verdana"]CTE is based on anchor member and recursive member, so I think(not sure, even never tried as well), it can not be possible to use the resultset of executed SProc...
May 5, 2008 at 5:25 am
[font="Verdana"]Any idea friends?
Thanks again,
Mahesh[/font]
May 5, 2008 at 1:18 am
[font="Verdana"]
...As soon as there is an error, it exists the stored proc and goes to the .net code...
Are you handling errors at front end with Try Catch block? Not sure,...
May 5, 2008 at 12:05 am
[font="Verdana"]While filtering, when you put '-' in between the value it compares the value with the column value and it might raise error due to mismatch datatypes of the column...
April 30, 2008 at 6:33 am
[font="Verdana"]Have you tried to execute it with sp_executesql?
From BOL:
Using sp_executesql is recommended over using the EXECUTE statement to execute a string. Not only does the support for parameter substitution make...
April 30, 2008 at 5:29 am
[font="Verdana"]
...Before this, a view extracts data from more than 22 tables from a staging database and tries to insert this data in the destination table...
I would suggest, optimize the view...
April 30, 2008 at 5:06 am
Viewing 15 posts - 211 through 225 (of 362 total)