|
Charles Wilt wrote:
But it'd seem to me that while STRSQL doesn't want the final
semicolon ; it would still need any in the middle...
CREATE PROCEDURE FOXWELL/DOAATN001 ( IN CLIENT_NO NUMERIC(9, 0) )
CASE
WHEN CLIENT_NO <> 0
THEN
UPDATE DOAATN SET STRTFL = 'N'
, SMAJHT = CURRENT TIME
WHERE SCLTNO = CLIENT_NO;
ELSE
UPDATE DOAATN SET STRTFL = 'N'
, SMAJHT = CURRENT TIME;
END CASE
Now it's saying that CASE is misplaced. If I take off the CASE and
just have the UPDATE, then UPDATE is misplaced. Ok, Friday
afternoon's not the best time to try. Try again Monday morning!
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.