Preparing Statements with SQL Identifiers

In general, you must specify SQL identifiers explicitly in the statement text when you prepare the statement. In a few special cases, however, you can use the question-mark ( ? ) placeholder for an SQL identifier:
  • For the database name in the DATABASE statement.
  • For the dbspace name in the IN dbspace clause of the CREATE DATABASE statement.
  • For the cursor name in statements that use cursor names.