> When running *createdb mydb; *I get the following error message:
> ERROR: syntax error at or near "createdb" at character 1
> LINE 1: createdb mydb;
> Why can't I use createdb instead of create database?
> Same error occur when trying many other commands.
createdb is a linux/DOS shell command not a PostgreSQL SQL command.
You would find createdb in your ".../bin/" directory.
Hope this explains it a little bit better.
Richard Broersma Jr.
In response to
pgsql-novice by date
|Next:||From: Corey||Date: 2006-06-19 20:40:40|
|Subject: get a pkey/id back from/after an insert|
|Previous:||From: Christo Romberg||Date: 2006-06-19 20:19:38|
|Subject: Re: SQL-commands does not work|