DBA > Job Interview Questions > DB2 ( IBM Database 2 ) Interview Questions

What is the syntax of SELECT statement when embe

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

What is the syntax of SELECT statement when embedded in a COBOL program ?

EXEC  SQL 
   SELECT col_name,col_name2,col_name3
   INTO hos_var1,hos_var2,hos_var3
   FROM owner.tablename
   WHERE condition
END_EXEC  

(Continued on next question...)

Other Job Interview Questions