Hopefully I can explain what I'm trying to do well enough for someone to be able to shed some light on my problem.
I have three tables: AIMRETRIEVAL -->ARCHIVERETRIEVAL-->AIMRETRIEVEDITEM. There is a one-to-many relationship between AIMRETRIEVAL and ARCHIVERETRIEVAL. The foreign key on...
I'm new to Tek-Tips so woukld like to first say hi....hi.
Onto business ;-)
I have an IF statement that to me looks like it should be fine, but for some reason get an error. Here's the statement:
IF (SELECT ArchiveType FROM AIM.ArchiveType WHERE ArchiveID = decArchiveID) = 'O' AND
(SELECT...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.