Re: How to convert this mysql syntax

Поиск
Список
Период
Сортировка
От markw@mohawksoft.com
Тема Re: How to convert this mysql syntax
Дата
Msg-id 16620.24.91.171.78.1107528029.squirrel@mail.mohawksoft.com
обсуждение исходный текст
Ответ на How to convert this mysql syntax  (vincent.richomme@ratp.fr)
Ответы Re: How to convert this mysql syntax  (Jeff Eckermann <jeff_eckermann@yahoo.com>)
Список pgsql-odbc
> I thought that SQL was nomalized but when I tried this wmysql code

SQL is mostly normalized, but every database seems to bring in its own
incompatibilities.
>
> With PostGreSQL it doesn't work.

It is probably a MySQL extension.

>
>
>
>
>
> //Select database
>
>
>
> m_pDb.Execute( "USE dbBornes;" );

Try:
m_pDb.Execute( "connect 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 по дате отправления:

Предыдущее
От: "Gastón Gordillo"
Дата:
Сообщение: ODBC DLL register
Следующее
От: Jeff Eckermann
Дата:
Сообщение: Re: How to convert this mysql syntax