Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site











SourceForge.net Logo

SqlIdOpt

 

Demonstrates SqlId::UseQuotes, SqlId::ToLowerCase

 

 

SqlIdOpt.cpp

 

#include <Sql/Sql.h>

 

using namespace Upp;

 

SQLID(COLUMN)

SQLID(TABLE)

 

CONSOLE_APP_MAIN

{

    StdLogSetup(LOG_COUT|LOG_FILE);

    

    SqlStatement s = Select(COLUMN).From(TABLE);

    LOG(s.Get(PGSQL));

    SqlId::UseQuotes();

    LOG(s.Get(PGSQL));

    SqlId::ToLowerCase();

    LOG(s.Get(PGSQL));

}

 

 

 

 

Do you want to contribute?