You are developing a COBOL application that needs to retrieve customer information from a database. Which SQL statement should you use for this purpose?

  • EXEC SQL DELETE
  • EXEC SQL INSERT
  • EXEC SQL SELECT
  • EXEC SQL UPDATE
To retrieve data from a database in COBOL, you would use the EXEC SQL SELECT statement. This statement is used to query the database and retrieve specific information, such as customer details, based on the specified conditions.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *