Creating a DB - Mailing list pgsql-novice

From Sami Pietilä
Subject Creating a DB
Date
Msg-id CAN08J2iJHtGFNkZS7upL6H5Osds0Y3ckTF_a_5MfLrUPkm+1RA@mail.gmail.com
Whole thread Raw
Responses Re: Creating a DB  (Thom Brown <thom@linux.com>)
List pgsql-novice
Hi,

I am trying to create local copy of DB from NCBI DB.
ftp://ftp.ncbi.nih.gov/snp/database/README.create_local_dbSNP.txt

The FTP site provides sql files and bcp -files.

I have started by trying to create tables as instructed:
psql -f dbSNP_main_table.sql dbSNP_main

Unfortunately there seems to be some syntax related issues:

psql:dbSNP_main_table.sql:579: ERROR:  syntax error at or near "["
LINE 1: CREATE TABLE [Allele]

How can I get postresql to accept provided sql -files?

BR,
Sami


pgsql-novice by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Question about join
Next
From: Thom Brown
Date:
Subject: Re: Creating a DB