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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to pass value from SQL*Plus to Unix scripts?

Re: How to pass value from SQL*Plus to Unix scripts?

From: Stephane Faroult <sfaroult_at_oriole.com>
Date: Tue, 22 Oct 2002 14:20:05 -0800
Message-ID: <F001.004F071A.20021022142005@fatcity.com>


"Mandal, Ashoke" wrote:
>
> Greetings,
>
> SQL> select value from v$nls_parameters where parameter='NLS_CHARACTERSET';
>
> VALUE
> ----------------------------------------------------------------
> US7ASCII
>
> Now in the Unix shell script I want to pass this character set as follows
>
> /user/oracle/export/export_db.sh /uexports tcqscm system manager AMERICAN_AMERICA.US7ASCII
>
> How can I pass the character set to the export script?
>
> Thanks,
> Ashoke
> --

NLS_LANG=AMERICAN_AMERICA.US7ASCII; export NLS_LANG

-- 
Regards,

Stephane Faroult
Oriole Software
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroult
  INET: sfaroult_at_oriole.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Oct 22 2002 - 17:20:05 CDT

Original text of this message

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