ecpg compile

Поиск
Список
Период
Сортировка
От Sirish Kumar
Тема ecpg compile
Дата
Msg-id 009601bf5e44$dc00f2e0$edfea0cc@noida.hclt.com
обсуждение исходный текст
Список pgsql-general
Hello,
     I tried to create database using embedded SQL through following
statements

...
exec sql begin declare section;
   char dbname[]="pgdb";
   ...
 exec sql end declare section;

main()
{
   ...
   exec sql create database :dbname ;
   ...

}

On compilation ecpg gives parser error at "...create database..." statement.

Can anybody help ?


Thanks
Sirish




----------------------------------------
Best Regards
Sirish Kumar
HCL Technologies (India) Pvt. Ltd.
Ph : +91-11-8-510813/701/702 Ext.1107
Fax : +91-11-8-510713
----------------------------------------


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

Предыдущее
От: Barry Baldwin
Дата:
Сообщение: Image data type
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: [GENERAL] Database synchronisation over the internet...