hi all,
am trying to write a ksh script which will take a username, password, db instance as input arguments and login to the database using sqlplus and select some data via sql and spool to a file.
problem is that i am using "sqlplus -s" in order to hide the username/password and it doesnt spool any data since its in silent mode.
To keep the forums high quality for all users, please take the time to format your posts correctly.
First of all, use Code Tags when you post any code or data samples so others can easily read your code. You can easily do this by highlighting your code and then clicking on the # in the editing menu. (You can also type code tags
```text
and
```
by hand.)
Second, avoid adding color or different fonts and font size to your posts. Selective use of color to highlight a single word or phrase can be useful at times, but using color, in general, makes the forums harder to read, especially bright colors like red.
Third, be careful when you cut-and-paste, edit any odd characters and make sure all links are working property.
hi,
i did try and run the script without the '-s' option. it still doesnt spool. All it does with the '-s' option removed is login to the db and just sits on the sql command prompt.
---------- Post updated at 05:29 PM ---------- Previous update was at 05:27 PM ----------
hi,
will keep this in mind for next time. how does the "charged 3K" work ??