From: Devi Munandar <devi@informatika.lipi.go.id>
To: pgsql-admin@postgresql.org
Subject: change field type and length
Date: Fri, 18 Apr 2003 12:13:34 +0700
Message-ID: <003301c30569$43003d60$a6f0cda7@informatika.lipi.go.id> (raw)
I've created table with postgresql, and so far so good, but I want to change
Field type and field length, I've tried to find command line and
documentation postgresql to change table field, but I can't get it. so there
are any trip to change that field...?
CREATE TABLE "dat_jab" (
"code_jab" numeric(2,0) NOT NULL,
"nm_jab" varchar(25),
CONSTRAINT "dat_jab_pkey" PRIMARY KEY ("code_jab")
);
CREATE INDEX "dat_jab_code_jab_key" ON "dat_jab" ("code_jab");
*** want to change Field Type "code_jab" numeric(4.0) , and field name
"nm_jab" -->"nm_cdjab"
regards
--dv
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: devi@informatika.lipi.go.id
Subject: Re: change field type and length
In-Reply-To: <003301c30569$43003d60$a6f0cda7@informatika.lipi.go.id>
References: <003301c30569$43003d60$a6f0cda7@informatika.lipi.go.id>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox