Re: [SQL] CREATE TABLE - Mailing list pgsql-sql

From Remigiusz Sokolowski
Subject Re: [SQL] CREATE TABLE
Date
Msg-id Pine.GS4.4.02A.9902260823530.11393-100000@netra.gdansk.sprint.pl
Whole thread Raw
In response to CREATE TABLE  (Ingrith Andrea Correa Vargas <i-correa@uniandes.edu.co>)
List pgsql-sql
>
> I want to create a table with a column wich will have a DEFAULT
> user-function value.
> Can you write an example, with the right syntax?!
>
> I have been making some examples, but I always have a syntax error that I
> can't solve.
>
> Thank you in advance, and I'll be waiting for a response!

It could be something like:
create table test(
test_id int4 default nextval('test_seq'),
test_txt text
);
    Regards
    Rem

-------------------------------------------------------------------*------------
Remigiusz Sokolowski      e-mail: rems@gdansk.sprint.pl           * *
-----------------------------------------------------------------*****----------


pgsql-sql by date:

Previous
From: Clark Evans
Date:
Subject: Schema / Database SELECT support?
Next
From: "Patrice DUMAS"
Date:
Subject: Unique Number KEY