Dynamic SQL is the programming methods in which the SQL statements are constructed at the run time. Dynamic SQL is used when there is a requirement of the DDL(database definition language) statements while writing the programs or when the user is not aware of the compilation time of the SQL statement.

BY Best Interview Question ON 19 Feb 2019