Database creation

Поиск
Список
Период
Сортировка
Искать

Database creation

От:
"Sirish Kumar" <sirishk@titanium.noida.hclt.com>
Дата:
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


FAQ