Re: [pgsql-tr-genel] satırı klonlamak

From: "Adnan DURSUN" <a_dursun(at)hotmail(dot)com>
To: "Ali Dereli" <derelinux(at)gmail(dot)com>, <pgsql-tr-genel(at)postgresql(dot)org>
Subject: Re: [pgsql-tr-genel] satırı klonlamak
Date: 2006-03-10 09:52:47
Message-ID: BAY106-DAV24EFDD7781CB5FC507E4C7FAED0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-tr-genel


----- Original Message -----
From: Ali Dereli
To: pgsql-tr-genel(at)postgresql(dot)org
Sent: Friday, March 10, 2006 11:35 AM
Subject: [pgsql-tr-genel] satırı klonlamak

>Merhaba;

>20 küsür sutunlu bir tablom var.
>bu tablodaki bir satırı klonlamak istiyorum. (serial tipli sutun hariç)
>Bu tarz bi kolaylık varmıdır?

INSERT INTO <tablo> (<kolon listesi>)
SELECT <serial tip kolon hariç kolon listesi>
FROM <20 küsür sutunlu tablonuz>
WHERE unique_id_kolon = unique_value;

Hepsi bu...

Adnan DURSUN
ASRIN Bilişim Ltd.

In response to

Responses

Browse pgsql-tr-genel by date

  From Date Subject
Next Message Adnan DURSUN 2006-03-10 11:28:45 Re: [pgsql-tr-genel] satırı klonlamak
Previous Message Ali Dereli 2006-03-10 09:35:09 satırı klonlamak