Viewing 15 posts - 16 through 30 (of 139 total)
I have a (somewhat) similar situation to that several others have described.
In my production environment, I have an 80GB DB file. Throughout the course of the week, a 5GB...
R David Francis
November 9, 2010 at 10:00 am
Any updates/changes for SQL 2008? Also, another request for a link to the "Advanced" article, if it was ever written.
Thanks!
R David Francis
January 28, 2010 at 11:50 am
In my case, I creates a stored procedure that runs a simple query against the other database (select count(*) from a table), returning the result set. I can run...
R David Francis
September 8, 2008 at 3:04 pm
I am having a similar problem, and I think I know why - it's just that none of the documentation, nor anything I've found on the 'net, indicates that this...
R David Francis
September 8, 2008 at 10:23 am
Please keep in mind - I believe that the original article was looking at SQL Server 2000. It's always possible that better options are available under 2005, or that...
R David Francis
June 13, 2008 at 10:53 am
Umm, you might want to change your description. The COALESCE function built into SQL Server does not create a concatenated string out of a list of values. From...
R David Francis
December 27, 2007 at 2:20 pm
Oh - and thanks to all who responded, and especially to Vladan, whose tip resolved my issue!
R David Francis
August 9, 2007 at 8:05 am
Parameter Sniffing, huh? Well, you learn something new every day!
Yes, I had taken the parameters for the stored procedure and declared them as variables when I ran this as...
R David Francis
August 9, 2007 at 8:00 am
SQL does provide some assistance as to what is erroring out, and why.
Given the topic, I probably already wrote something about this routine some time ago. However, this is...
R David Francis
December 19, 2006 at 1:40 pm
Ron says:
"Since I tend to avoid cursors I cannot vouch for the contention that "adding LOCAL STATIC to a cursor declaration will produce the kind of performance increases that a...
R David Francis
July 21, 2006 at 8:41 pm
It's important to remember to balance the cost of the time to run a routine versus the cost of the time to develop the routine.
If there's something you only expect...
R David Francis
July 21, 2006 at 6:36 pm
As others have mentioned, STATIC or LOCAL STATIC cursors resolve much of the performance issues seen with cursors.
I did once see an indication that non-STATIC cursors behave in a significantly...
R David Francis
January 17, 2006 at 11:41 am
sp_helptext is a procedure that returns a dataset containing one row for each line in the original procedure declaration.
If you do something like this, you can capture that output in...
R David Francis
March 29, 2005 at 4:37 pm
Note that, on a table with a clustered index, you'll never do a table scan. If you're using the index, you'll do a clustered index seek; if not, a...
R David Francis
March 23, 2005 at 5:27 pm
Oops - sorry, I missed the TextPad note in your original post.
Unix systems have the 'head' and 'tail' commands that would let you grab chunks of the file to investigate....
R David Francis
March 23, 2005 at 1:25 pm
Viewing 15 posts - 16 through 30 (of 139 total)