Re: [SQL] CREATE TABLE

Поиск
Список
Период
Сортировка
От Remigiusz Sokolowski
Тема Re: [SQL] CREATE TABLE
Дата
Msg-id Pine.GS4.4.02A.9902260823530.11393-100000@netra.gdansk.sprint.pl
обсуждение исходный текст
Ответ на CREATE TABLE  (Ingrith Andrea Correa Vargas <i-correa@uniandes.edu.co>)
Список 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 по дате отправления:

Предыдущее
От: Clark Evans
Дата:
Сообщение: Schema / Database SELECT support?
Следующее
От: "Patrice DUMAS"
Дата:
Сообщение: Unique Number KEY