#include <Oracle8iSqlStatements.h>
Inheritance diagram for Oracle8iSqlStatements:
Public Member Functions | |
CStdString | getRecommendedColumnType (IopcDataType cxxDataType, int maxLength=0) |
int | checkColumnTypeCompatibility (IopcDataType, const char *) |
CStdString | quoteString (const char *value) |
int | generateCreateTableSql (const DatabaseTableInfo &table, CStdString &createTableSql, CStdString &, CStdString &) |
int | generateDropTableSql (const char *tableName, CStdString &dropTableSql, CStdString &, CStdString &) |
int | generateDropViewSql (const char *viewName, CStdString &dropViewSql, CStdString &, CStdString &) |
int | generateInsertSqlSimple (const char *tableName, const std::list< CStdString > &columnValues, CStdString &insertSql, CStdString &, CStdString &) |
int | generateInsertSqlUsingHostVariables (const char *tableName, const std::list< CStdString > &columns, CStdString &insertSql, CStdString &, CStdString &) |
int | generateUpdateSqlUsingHostVariables (const char *tableName, const std::list< CStdString > &columns, const char *whereClause, CStdString &updateSql, CStdString &, CStdString &) |
int | generateSelectSql (const std::list< CStdString > &columns, const std::list< CStdString > &tables, const char *whereClause, CStdString &selectSql, CStdString &, CStdString &, const char *orderBy=NULL, bool lockRows=0, bool dontWait=0) |
int | generateCreateViewSql (const char *viewName, const std::list< CStdString > &viewColumns, const std::list< CStdString > &subSelects, CStdString &createViewSql, CStdString &, CStdString &) |
int | generateWhereClauseStmtPart (const std::list< CStdString > &conditions, CStdString &whereClause, CStdString &, CStdString &) |
int | generateConditionInSet (const char *columnToTest, const std::list< int > &valuesToTest, CStdString &condition, CStdString &, CStdString &) |
int | generateConditionEqualToHostVariable (const char *columnToTest, const char *hostVariableName, CStdString &condition, CStdString &, CStdString &) |
int | generateCreateIndexSql (const char *indexName, const char *tableName, const std::list< CStdString > &columns, bool unique, CStdString &createIndexSql, CStdString &, CStdString &) |
int | generateDropIndexSql (const char *indexName, CStdString &dropIndexSql, CStdString &, CStdString &) |
int | generateExplainPlanScript (const char *query, const char *queryID, CStdString &explainPlanSql, CStdString &, CStdString &) |
int | generateOidGenerationSupportCreationScript (const char *projectName, CStdString &result, CStdString &, CStdString &) |
int | generateOidGenerationSupportDropScript (const char *projectName, CStdString &result, CStdString &, CStdString &) |
int | generateSelectNextOidSql (const char *projectName, CStdString &result, CStdString &, CStdString &) |
int | generateDeleteSql (const char *tableName, const char *whereClause, CStdString &deleteSql, CStdString &, CStdString &) |
int | generateComment (const char *commentText, CStdString &commentSql, CStdString &, CStdString &) |
const char * | getScriptStatementTerminator () |
virtual int | translateOrderByStatement (const char *src, CStdString &dest, CStdString &, CStdString &) |
To find out what this class's functions should do see DatabaseSqlStatements. Documentation of most methods of this class consist only from a (sketchy) example of function's result.
|
Returns recommended database column type for given C++ attribute type.
Implements DatabaseSqlStatements. |
|
This function does nothing for now. The checking will be done later by the database itself.
Implements DatabaseSqlStatements. |
|
Example of method's result:
Implements DatabaseSqlStatements. |
|
Example of method's result:
Implements DatabaseSqlStatements. |
|
Example of method's result:
Implements DatabaseSqlStatements. |
|
Example of method's result:
Implements DatabaseSqlStatements. |
|
Example of method's result:
Implements DatabaseSqlStatements. |
|
Example of method's result:
Implements DatabaseSqlStatements. |
|
Example of method's result:
Implements DatabaseSqlStatements. |
|
Example of method's result:
Implements DatabaseSqlStatements. |
|
Example of method's result:
Implements DatabaseSqlStatements. |
|
Example of method's result:
Implements DatabaseSqlStatements. |
|
Example of method's result:
Implements DatabaseSqlStatements. |
|
Example of method's result:
Implements DatabaseSqlStatements. |
|
Example of method's result:
Implements DatabaseSqlStatements. |
|
Example of method's result:
Implements DatabaseSqlStatements. |
|
Example of method's result:
Implements DatabaseSqlStatements. |
|
Generates SQL script that creates the SEQUENCE used for OID generation (generateSelectNextOidSql()). The name of the sequence is created from For return values and parameter descriptions see DatabaseSqlStatements::generateOidGenerationSupportCreationScript(). Example of method's result:
Implements DatabaseSqlStatements. |
|
Generates SQL script that drops the SEQUENCE created by generateOidGenerationSupportCreationScript(). For return values and parameter descriptions see DatabaseSqlStatements::generateOidGenerationSupportDropScript(). Example of method's result:
Implements DatabaseSqlStatements. |
|
Example of method's result:
Implements DatabaseSqlStatements. |
|
Example of method's result:
Implements DatabaseSqlStatements. |
|
Example of method's result:
Implements DatabaseSqlStatements. |
|
Returns string that should be placed after every SQL statement, if generating SQL script.
Implements DatabaseSqlStatements. |
|
Because Oracle 8i support SQL92 ORDER BY clauses, just returns Implements DatabaseSqlStatements. |