Unix Technical Forum

variable in sqlplus

This is a discussion on variable in sqlplus within the Oracle Database forums, part of the Database Server Software category; --> Hello to all, I want to start a sqlplus-script for multiple db instances at one time generating a logfile. ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-24-2008, 08:56 AM
Johannes
 
Posts: n/a
Default variable in sqlplus

Hello to all,

I want to start a sqlplus-script for multiple db instances at one time
generating a logfile.
Specified within the sqlplus-script something like this "DEFINE
spoollog=C:\_<Instance_name><SID>"
whereas <Instance_name> and <SID> should be filled up with the appropriate
values.
But I don't know how to transmit this one.
Thank you for all your help.

Best Regards
Johannes


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-24-2008, 08:56 AM
Mark C. Stock
 
Posts: n/a
Default Re: variable in sqlplus


"Johannes" <johannes@merckle.de> wrote in message
news:2sfspgF1kuabiU1@uni-berlin.de...
| Hello to all,
|
| I want to start a sqlplus-script for multiple db instances at one time
| generating a logfile.
| Specified within the sqlplus-script something like this "DEFINE
| spoollog=C:\_<Instance_name><SID>"
| whereas <Instance_name> and <SID> should be filled up with the appropriate
| values.
| But I don't know how to transmit this one.
| Thank you for all your help.
|
| Best Regards
| Johannes
|
|

you probably need to look into the NEW_VALUE option in the SQL*PLus manual
(should be chapter 4, Formatting Query Results)

++ mcs


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-24-2008, 08:57 AM
Rauf Sarwar
 
Posts: n/a
Default Re: variable in sqlplus

http://www.oracle.com/technology/sup...lus/index.html

Regards
/Rauf

"Johannes" <johannes@merckle.de> wrote in message news:<2sfspgF1kuabiU1@uni-berlin.de>...
> Hello to all,
>
> I want to start a sqlplus-script for multiple db instances at one time
> generating a logfile.
> Specified within the sqlplus-script something like this "DEFINE
> spoollog=C:\_<Instance_name><SID>"
> whereas <Instance_name> and <SID> should be filled up with the appropriate
> values.
> But I don't know how to transmit this one.
> Thank you for all your help.
>
> Best Regards
> Johannes

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:21 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com