X-Original-To: pgsql-sql-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id B6FF29FA5CD for ; Mon, 7 Aug 2006 17:45:49 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 13050-08 for ; Mon, 7 Aug 2006 20:45:45 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by postgresql.org (Postfix) with ESMTP id 0C4939FA4A8 for ; Mon, 7 Aug 2006 17:45:44 -0300 (ADT) Received: by nf-out-0910.google.com with SMTP id n28so1139671nfc for ; Mon, 07 Aug 2006 13:45:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=aebkldPRDRKZU3kEy9/jmf4o7dSsuX5HN1RQIpsV553fVCB7UfOHA/RzkFb6l0qTVvWTl33KdP+GDdlXdAZ0Svsu6Pni3t5JzfgtXtAGbnGl+x5iXpkisLo7QGEF99cNF+/XxwcimpRXKRqOUvvc+q179w4RVRxBcQH+SVqKxwI= Received: by 10.82.102.5 with SMTP id z5mr1180395bub; Mon, 07 Aug 2006 13:45:43 -0700 (PDT) Received: by 10.82.112.14 with HTTP; Mon, 7 Aug 2006 13:45:43 -0700 (PDT) Message-ID: <9dafed310608071345p15d5bbafxba9acfddd116320f@mail.gmail.com> Date: Mon, 7 Aug 2006 16:45:43 -0400 From: "Kumar Dev" To: Judith Subject: Re: Change of data type Cc: pgsql-sql@postgresql.org In-Reply-To: <44D77A8C.9040303@correolux.com.mx> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7092_32438773.1154983543172" References: <44D77A8C.9040303@correolux.com.mx> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.696 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, HTML_40_50, HTML_MESSAGE, SPF_PASS X-Spam-Level: X-Archive-Number: 200608/66 X-Sequence-Number: 26024 ------=_Part_7092_32438773.1154983543172 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Use Alter table notebook from control center right click on the table and open alter table notebook you can drop a column or add a column or change the datatype Kumar On 8/7/06, Judith wrote: > > Hello everybody, excuse me how can I change de data type of a field, > I currently have: > > material character(30) > > but I now want the field in text type like this: > > material text > > somebody knows if ALTER TABLE has some option to do this?, or How > can I do that? > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > -- Kumar DB2 DBA & SAP Basis professional ------=_Part_7092_32438773.1154983543172 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Use Alter table notebook from control center
right click on the table and open alter table notebook
you can drop a column or add a column or change the datatype
 
Kumar

 
On 8/7/06, Judith <jaltamirano@correolux.com.mx> wrote:
   Hello everybody, excuse me how can I change de data type of a field,
I currently have:

   material character(30)

   but I now want the field in text type like this:

   material  text

   somebody knows if ALTER TABLE has some option to do this?, or How
can I do that?


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@postgresql.org so that your
      message can get through to the mailing list cleanly



--
Kumar
DB2 DBA & SAP Basis professional ------=_Part_7092_32438773.1154983543172--