CdbQueryDef::SetSQL, GetSQL Property

Sets or returns the SQL statement that defines the query executed by a CdbQueryDef object.

Syntax

VOIDSetSQL(LPCTSTR pstr);

CStringGetSQL(VOID);

Set Parameters

Type Example Description
LPCTSTR pstr A pointer to a string that contains an SQL statement.