How to convert this mysql syntax

Поиск
Список
Период
Сортировка
От vincent.richomme@ratp.fr
Тема How to convert this mysql syntax
Дата
Msg-id E23B4EE4F2A6F44B8660AA8723D0B82B012E18BC@nyplme19.neuilly.ratp
обсуждение исходный текст
Ответы Re: How to convert this mysql syntax
Список pgsql-odbc

I thought that SQL was nomalized but when I tried this wmysql code

With PostGreSQL it doesn’t work.

 

 

//Select database

 

m_pDb.Execute( "USE dbBornes;" );

 

// Create table

csSql.Format( "CREATE TABLE %s(", m_DbTable );

csSql += _T( "UserID     INTEGER    NOT NULL AUTO_INCREMENT,"    );

csSql += _T( "Time       DATETIME  NOT NULL,"  );

csSql += _T( "NumSerie   INTEGER    NOT NULL," );

csTmp.Format( "%s VARCHAR(64),", im->first );

csSql += _T( "PRIMARY KEY(UserID))" );

В списке pgsql-odbc по дате отправления: