mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
14 lines
298 B
C++
14 lines
298 B
C++
#include "SqlExp.h"
|
|
|
|
SqlId A("A");
|
|
SqlId TABLE("TABLE");
|
|
SqlId B("B");
|
|
|
|
CONSOLE_APP_MAIN
|
|
{
|
|
SqlSet s = Select(Nvl(A, B)).From(TABLE).Where(A >= GetSysDate());
|
|
DUMP(SqlCompile(MYSQL, ~s));
|
|
DUMP(SqlCompile(MSSQL, ~s));
|
|
DUMP(SqlCompile(SQLITE3, ~s));
|
|
DUMP(SqlCompile(ORACLE, ~s));
|
|
}
|