The SQLPrepare Phase of SQLExecDirect

[This is preliminary documentation and subject to change.]

SQLPrepare prepares an SQL string for execution by:

In terms of the single-table, single-column example, SQLPrepare ensures that table and alias names are not duplicated. It accomplishes this task by verifying that t1 exists within the Wellfleet database. Also, in terms of this example, SQLPrepare checks the semantics of the select list by ensuring that c1t1 exists within t1 and a reference to a definition of t1 is stored in the column node representing c1.