How do you do the EXPLAIN of a dynamic SQL statement?

Answer Posted / swetha dasari

we could replace the unknown values with a "?"
eg:

select name

from database

where name = ?

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention the downsides of page level lock.

710


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?

7512


List out the data types available.

704


What is copy pending status in db2?

636


For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.

660






How to fetch the last row from the table in SQL (db2)?

1037


What is the maximum length of sqlca?

869


What are db2 objects?

641


What is dbrm in db2 database?

591


Explain the contents that are a part of dclgen.

659


What is db2? Explain.

606


What are the prerogatives?

615


What is the syntax for seeing the columns and data types of a table in the db2 database?

578


Is the primary key a clustered index?

611


What is the result of open cursor statement?

638