Viewing 15 posts - 31 through 45 (of 51 total)
What about setting up a trigger to perform the delete on a one by one basis? It would be transparent and would perform well...
Also...I know that most people avoid using...
May 27, 2005 at 1:09 pm
Farrell... there is a 2 steps solution... i think this will work fine... at least it worked with my configuration...
But I suggest that...
May 27, 2005 at 12:59 pm
If # of items would vary in time, you'd never get it running with a single select statement.
I think concatenation would be the rigth approach. Even if you need...
May 26, 2005 at 7:49 am
Another adition...
You can use SELECT statement in place of a PRINT statement to get some readable output OR in place of a SET statement to set variable values...
The diferences are...
May 6, 2005 at 7:16 am
Thanks you both...
Creation in order, is not impossible, but almost is... i'm not migrating a couple of stored procs... there are several hundreds stored and functions... not all of them...
April 19, 2005 at 10:03 am
Hi
Would you post the error message??
In advance, it's not a recommended idea to use cascaded deletes... it's better if you implement something like this using triggers...
And... supose the next case:
t01 ...
April 6, 2005 at 5:19 pm
Paula
I think you can re arrange your SP to produce a temp table with records marked to delete, instead of deleting them directly (changinf DELETE... for a INSERT INTO #TempTable...
March 31, 2005 at 8:51 am
Bryan
If you read the precedent comments and besides them you still insist on hardcoding our list, since it is length variable you can use a temp. table to store its...
March 31, 2005 at 7:53 am
Hi
In your example, you are forcing srt1 and srt1nm to be NULL
SELECT 12345 AS award_id, 0.95 AS sumpro, NULL AS srt1, NULL AS srt1nm, NULL AS srt2, NULL AS...
March 31, 2005 at 7:43 am
This is very obvious I think, but you'll need to maintain an historic for each result set retrieved...
March 30, 2005 at 3:54 pm
Hi again...
As i can see you recover just a few fields from each table in your stored proc... so... where are this values going?? I mean, what are you doing...
March 30, 2005 at 3:52 pm
I think the fields CreateDT and UpdateDt you've created are datetime, no?
Why are them not reliable? Where do you update those fields?
You will need just a bit field...
March 30, 2005 at 2:02 pm
Thanks.
Changing option in EM/Mgmnt/server Agent/JobSystem worked ok!
March 23, 2005 at 3:20 pm
Hi! Helen, Jim...
Jim's solution will work (once rewrited in a correct way) but if you have more tha a few applicants, would be very expensive...(see below)
try this... it would work...
March 22, 2005 at 6:26 am
Viewing 15 posts - 31 through 45 (of 51 total)