The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 04-28-2008
Sreejith_VK
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
to run sql as superuser

hi All,

In my script I want to run some drop and select statements in the same host as a different user.I am inputting password for the superuser from the user who will be executing the script.

ie ,
Quote:
#!/bin/ksh
echo " \n\n\t Enter the superuser's password:\c"
read pass
I would be greatfull to you experts if you could suggest me how to proceed.