On Fri, Feb 29, 2008 at 03:28:11PM -0500, Mike Gould wrote:
> CREATE TABLE "fav5"."batchnumber" (
>   "batchnumberid" SERIAL NOT NULL, 
>   "processtype" SMALLINT NOT NULL, 
>   "termloc" CHAR(3) NOT NULL, 
>   "batchno" INTEGER NOT NULL
> ) WITHOUT OIDS;  
> With the above table definition, is batchnumberid by default also defined as 
> the primary key or do I still need to define a separate Primary Key 
> constraint?  

wouldn't it be faster to simply try it?

it will be just a simple column. you have to add primary key
separately.

depesz

-- 
quicksil1er: "postgres is excellent, but like any DB it requires a
highly paid DBA.  here's my CV!" :)
http://www.depesz.com/ - blog dla ciebie (i moje CV)

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to