Function CSPODBCRecordset::PrepareSQL() Description: Prepares but does not execute an SQL statment.
| Prototype: bool PrepareSQL(const CSPString& strSQL); Arguments: const CSPString& strSQL [IN] The SQL statement. Return value: If successful, it returns true. Otherwise, it returns false. Examples: Set.PrepareSQL( "SELECT * FROM MYTABLE WHERE NAME = 'John'" ); Set.ExecuteSQL(); See also: member functions ExecuteSQL(), ExecuteSQL( const CSPString& strSQL ), Close()
CSPODBCRecordset | ODBC support classes | Class Categories | Online help home | Back
www.micronovae.com Copyright © 2002 - 2004 Micronovae Ltd