On Thu, 2010-02-25 at 10:08 +0200, ibrahim saricicek wrote:
> ALTER TABLE tablo_adı ALTER kolon_adı SET DEFAULT
> nextval('MyTable_id_seq'::
> regclass);
>
> yapmak yerine, kodda;
>
> insert into MyTable (id,name) values
> (nextval('companyvectors_id_seq'),'deneme')
>
> kullansam aynı sonucu verir mi acaba?
Olur tabii.
--
Devrim GÜNDÜZ, RHCE
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz