What is the syntax of SELECT statement when embedded in a
COBOL program?
Answer Posted / sivakumar sekharannair
EXEC SQL
SELECT
EMPNAME
INTO : HS-EMPNAME(Host variable)
FROM EMPTABLE
WHERE
EMPID = :HS-EMPID(Host variable)
END-EXEC.
| Is This Answer Correct ? | 17 Yes | 1 No |
Post New Answer View All Answers
How to resolve deadlock issue
Can we update view in db2?
B37 abend during spufi?
What is cascading rollback?
What is declare cursor?
define clustering index.
What is drop table?
How do I delete a table in database?
What are the benefits of using the db2 database?
How can you find out the # of rows updated after an update statement?
by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?
How do I add a column in db2?
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
What is host variable?
What are the rules for db2 programming?