diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-05DA872F-F70E-5085-8AA9-12B6A0B71917.dita --- a/Symbian3/PDK/Source/GUID-05DA872F-F70E-5085-8AA9-12B6A0B71917.dita Thu Mar 11 15:24:26 2010 +0000 +++ b/Symbian3/PDK/Source/GUID-05DA872F-F70E-5085-8AA9-12B6A0B71917.dita Thu Mar 11 18:02:22 2010 +0000 @@ -1,13 +1,13 @@ - - - - - -Using TDbQuery class

The design of this class is chosen so that the descriptor containing the SQL can be passed in the place of the TDbQuery object, which will be implicitly constructed with normal text comparison. So given

TPtrC sql=_L("select * from Personnel where Name like 'A*'"); + + + + + +Using TDbQuery class

The design of this class is chosen so that the descriptor containing the SQL can be passed in the place of the TDbQuery object, which will be implicitly constructed with normal text comparison. So given

TPtrC sql=_L("select * from Personnel where Name like 'A*'"); RDbView view;

Then

view.Prepare(database,sql);

is equivalent to

view.Prepare(database,TDbQuery(sql,EDbCompareNormal));

To specify any other comparison type, the query object must be explicitly constructed:

view.Prepare(database,TDbQuery(sql,EDbCompareFolded));
\ No newline at end of file