Viewing 15 posts - 24,061 through 24,075 (of 26,490 total)
What are the data types for this two fields
obhssq
oahssq
😎
October 24, 2008 at 2:15 pm
Well, after fixing a couple of inconsistencies in the code (the system I am using is case sensitive so CoPay <> Copay, DateofBirth <> DateOfBirth, etc) I get the following...
October 24, 2008 at 2:09 pm
What is the result of this query (as asked earlier).
SELECT *
FROM hsdet inner join hshed on obhssq=oahssq
where oainvd>20050100 AND NOT ISNUMERIC(oaorsc) = 1
😎
October 24, 2008 at 1:44 pm
CASE is not a control flow statement, its actually a function. For what you want to do, you need to use the IF statement.
😎
October 24, 2008 at 1:31 pm
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
Viewing 15 posts - 24,061 through 24,075 (of 26,490 total)