The Following SQL works SQL Server 2005 executed from Fujitsu COBOL via an ODBC Driver. ( EXEC Statements excluded)
SELECT FIELDA, FIELDB FROM CTRY_TAB
WHERE FIELDC = 'A' AND FIELDD = :XCTRY
XCTRY IS A DECLARED SQL VARIABLE.
The following does not work with SQL Server but does with MySQL...
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.