Viewing 15 posts - 17,551 through 17,565 (of 18,923 total)
This would seem like a safe way to use dynamic sql.... but I would still use it to call a stored proc in the database... that way you get the...
May 30, 2005 at 9:08 am
Maybe I gon't have the right idea of what's happening.
Do you have multiple blocks of codes like the one you sent me?
If this is the case I would suggest that...
May 30, 2005 at 8:54 am
I see what's hapenning now.. but if the @mid variable is set only once, then the delete from the table will delete data only once. This is because it...
May 30, 2005 at 8:30 am
yes it does... but it's very easy to miss.
But as you pointed out this is something to avoid if at all possible :
Get data from another database. If you...
May 30, 2005 at 8:27 am
Might sound simplistic... but is it possible that you don't set @mid in the else part of the proc?
May 30, 2005 at 8:07 am
Here's the "one step better" I was missing
thanx aj
May 30, 2005 at 8:02 am
Check this out for a better way out :
May 30, 2005 at 7:01 am
I've learned to read between the lines over the years
.
I'm glad to help on this forum since I consider than over 75% of...
May 30, 2005 at 6:47 am
Now why would you think that I may try to bullshit people just to post messages???
May 30, 2005 at 6:43 am
If you want to delete all the records from the table you can do something like this :
Delete from rt_edt
if you don't want the delete to be fully logged...
May 30, 2005 at 6:39 am
Don't need a stats course to understand this >>
as of last Friday :
Select 5222.0 / datediff(d, '12/5/2002', getdate()) as FRANK, 138 as POSTS_MAY_FRANK, 1369.0 / datediff(d, '5/10/2004', getdate()) as...
May 30, 2005 at 6:34 am
What are you doing actually? Dropping and recreating the triggers to change their fonctionnality or change their code while in production?
May 30, 2005 at 6:27 am
Sounds like dynamic sql task here... What problem are you trying to solve?
May 30, 2005 at 6:25 am
I've been told to stay away from that include file so I'll forward that to you.
here's the bit that's missing :
response.write "No Of Records = " & rs1.fields("Fieldname").value...
May 27, 2005 at 11:32 am
Sorry didn't see this last question untill now...
just add
CASE WHEN datepart(m, tblInvoiceMaster.invoice_date) = 5 AND year_col = 2004 THEN...
May 27, 2005 at 10:04 am
Viewing 15 posts - 17,551 through 17,565 (of 18,923 total)