- sql db sql-strprocedure
Creates a statement object associated with the database connection db and the SQL sql-str. Preparation of the statement is deferred until needed. This is a normal statement in every respect except that it must be resurrected before it can be used.
sql is recommended over prepare when using the query / exec interface so that you can declare your statements without compiling them until and unless they are actually used.