I've a script:
CREATE DATABASE ahop
GO
CREATE TABLE shop.dbo.TABLE1 (
);
CREATE TABLE shop.dbo.TABLEN (
);
But it doesn't seem to work in PostgreSQL. Error message: "error near GO". I dont get it, how to create scripts in Postgresql?
I've a script:
But it doesn't seem to work in PostgreSQL. Error message: "error near GO". I dont get it, how to create scripts in Postgresql? |
||||
add comment |
Replace the T-SQL batch terminator you need to connect on the database using
|
|||||||||
|
database.schema.tablename
. But this all documented in the manual. – a_horse_with_no_name Nov 25 '12 at 16:18TSQL
– 今 草 顿 웃 Nov 25 '12 at 16:19