Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

12.2 Who Should Use Open SQL

Using Open SQL is somewhat more complicated than using the standard DBTools.h++ API. While the alternative interface may increase control and performance, it may also decrease portability and ease of coding. For this reason, Open SQL is not recommended for all users, but you should consider it for any of the following operations:

You should use Open SQL only if:

In summary, by using Open SQL, you obtain direct control over the SQL that is executed and the data that is bound to it. Some parts of your DBTools.h++ application may also achieve better performance. However, these benefits might not be worth the decreased maintainability and increased complexity that result from direct execution of SQL statements.

As a guideline, if you can identify specific, performance-intensive sections in an application that performs database access, you should consider coding those sections using Open SQL.


Previous fileTop of DocumentContentsIndexNext file

©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.