Viewing 15 posts - 1 through 15 (of 37 total)
Thanks stax68 and others!
That was a much more complete answer then I had gotten at the other site.
June 29, 2006 at 7:40 am
I didn't go through the links but another advantage of the table variable is there is no logging so you don't have that overhead.
June 9, 2006 at 4:13 am
At this point I'd need to get a DBA involved. I'm just a lowly apps programmer.
March 29, 2006 at 4:50 am
Try running this first in the desired database from Query Analyzer:
sp_sdidebug 'legacy_on'
March 28, 2006 at 4:43 am
Run in the desired data base from Query Analyzer:
declare @s varchar(255)
set @s-2 = 'Text to Search Here'
DECLARE @msg varchar(255) ,
@ul varchar(255)
March 8, 2006 at 4:39 am
This isn't really what you asked for but it searchs for text and I use it to look for tables in SPs:
declare @s varchar(255)
set @s-2 = 'Text to...
January 30, 2006 at 4:58 am
Math is one of my weaknesses and some of you seem good at it. This is a routine I inherited and use in production. It is to round from four...
January 6, 2006 at 4:56 am
Have you looked into CHARINDEX and PATINDEX in BOL? I think that's what you are looking for.
December 21, 2005 at 5:28 am
You can also run the queries from inside Excel, I'm using 97.0. You have to play around a little but once you get it going it's easy. To...
November 2, 2005 at 7:24 am
Thank you!
November 2, 2005 at 5:40 am
There's been times I've wanted to insert the results from a stored procedure into a temporary table also. I don't think there is a way. Maybe someone does????
November 1, 2005 at 10:47 am
I view a couple of different sites each morning. Your question looked similar to this one. I didn't look very closly but maybe it is worh checking out:
October 4, 2005 at 5:23 am
Sorry...I didn't test the cursor loop. Just did it freehand:
Declare @pkClaim int
DECLARE MyCursor CURSOR FOR SELECT pkClaim FROM Claims
Open MyCursor
FETCH NEXT FROM MyCursor INTO @pkClaim
WHILE (@@FETCH_STATUS -1)
BEGIN
...
September 30, 2005 at 6:05 am
Looping is not a good idea but sometime, paticularly for one time deals, is needed. Here are two basic loops:
Cursor:
DECLARE MyCursor CURSOR FOR
OPEN MyCursor
FETCH NEXT FROM MyCursor INTO @pkClaim...
September 30, 2005 at 5:56 am
Viewing 15 posts - 1 through 15 (of 37 total)