Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Database copy question 2 ..(HELP!!!)

Re: Database copy question 2 ..(HELP!!!)

From: Reid Lai <reidlai_at_netvigator.com>
Date: Fri, 07 Sep 2001 00:23:54 +0800
Message-ID: <3B97A31A.AE8F97CE@netvigator.com>


SELECT
  'UPDATE ' || TABLE_NAME || ' SET COST = 1 ;' FROM
  ALL_TAB_COLUMNS
WHERE
  COLUMN_NAME = 'COST' ; JK Yao wrote:

> dear all,
>
> Is there any fast way to set all column called 'cost' to 1? Since I
> have 'Cost' column involved in so many table, I need some script of
> special way to done my job.
>
> Please clarify. Thanks a lot.
>
> I use Oracle8.1.6 in Solaris2.6
>
> regards,
> JK
Received on Thu Sep 06 2001 - 11:23:54 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US