Viewing 15 posts - 121 through 135 (of 168 total)
Solution seems to be:
SET ROWCOUNT 1
SELECT A.RiskId
FROM RiskQueue A
INNER JOIN _FinalFlat B
ON A.AcctNo = B.AcctNo
WHERE B.Tagged = 0
ORDER BY A.RiskId
Gets away from using the temp table and its a lot...
August 19, 2006 at 9:09 pm
This concept may solve my problem. This query works:
SELECT TOP 1 A.RiskId
FROM RiskQueue A
INNER JOIN _FinalFlat B
ON A.AcctNo = B.AcctNo
WHERE B.Tagged = 0
ORDER BY A.RiskId
BUT .... I get an error...
August 19, 2006 at 7:16 pm
Thanks for the solutions. Since there are two different solutions, the obvious question is which best fits my concern.
I'm still a little confused on which fits my situation the best. ...
July 14, 2006 at 4:37 am
I'm not sure I understand. Lets say this is my stored procedure. If I want this all to run before updating the database, what do I need to do. Thanks!
INSERT...
July 13, 2006 at 9:12 pm
I'm having problems posting a jpg, go figure. I'll just type it in.
There are lots more columns, I'll just do a few. Top row is field name.
BEFORE: