Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

question about tcsh script please ... 1

Status
Not open for further replies.

h3nd

Programmer
Jul 1, 2006
147
AU
Hi guys,

I've got tcsh script like this :
Code:
#!/bin/tcsh -f

sqlplus ${DB_USER}/{DB_PSWD}@${SID} <<EOF
truncate table ATTRCONDITION;

quit
EOF
exit $status

Could you guys tell me what "@${SID}" for ?

And what's the difference between tcsh and normal shell script (ksh, sh) ?

thanks guys
 
Ok, I know $SID is database name.

Do you guys have any idea to convert those command to ksh ?

Thanks guys
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top