Creating an RWDBOSql Instance
Class RWDBOSql is an encapsulation of an SQL statement. Creating an instance of RWDBOSql is simple enough. You just instantiate one as you would any other C++ object. If you know the SQL statement you want to use, you can provide it in the constructor. For example, if you want to use the statement "SELECT * FROM MYTABLE", you write this code:
RWDBOSql anOSql("SELECT * FROM MYTABLE", RWDBOSql::Query);
The second parameter RWDBOSql::Query is from enum RWDBOSql::StatementType. It helps in optimizing binding and performance while executing the statement.