Viewing 15 posts - 24,061 through 24,075 (of 26,486 total)
So what is the actual error message you are getting with the second proc?
😎
October 24, 2008 at 1:26 pm
Looks to me that you have one too many "end" statements in the second stored proc.
😎
October 24, 2008 at 1:16 pm
Better if you provide it as INSERT statements so that whoever decides to give it a go just has to cut, paste and execute. Some people don't have the...
October 24, 2008 at 11:29 am
The sooner you can provide the schema and some sample data the better. Suggestion for the schema and data, primary key(s) on the table, and the additional columns needed...
October 24, 2008 at 10:27 am
Jeff,
I'd be real interested in seeing that, and testing it as well. I have never seen that myself, so that has to be a Missouri moment (show me).
Thanks,
Lynn
October 23, 2008 at 9:44 pm
Try this in a test environment:
DELETE PW -- COUNT(1)
FROM
performance_esx3_workload PW
INNER JOIN performance_sample PS
on (PW.sample_id...
October 23, 2008 at 3:36 pm
There are two issues here. The first is that the update is taking a long time, and second as a result the log file is filling up the disk...
October 23, 2008 at 11:35 am
That's what I forgot to put in that post on another thread, a BACKUP LOG!
Yes, you need to do that as well. As I asked earlier, if you post...
October 23, 2008 at 10:19 am
The BEGIN and END may not be necessary, but I find it makes it easier to see what code makes up a trigger, stored procedure etc. Especially true if...
October 23, 2008 at 10:15 am
Okay, I have to bite on this one. What server settings prevent you using indexed views?
😎
October 23, 2008 at 10:06 am
Sounds like you need to break down your update into smaller batches instead of one big update. Could you post your update query?
😎
October 23, 2008 at 9:35 am
This gets into basic BOOLEAN LOGIC. Your where clause is this:
name <> 'name1' and age <> 25
That is equvilent to this:
not (name = 'name1' or age = 25)
For proof...
October 23, 2008 at 9:17 am
Read BOL topics DDL Triggers and Event Notifications.
😎
October 23, 2008 at 8:50 am
Viewing 15 posts - 24,061 through 24,075 (of 26,486 total)