How Connect to a Database in Shell Programming?

Answer Posted / ashu

you have a "sqlplus" command to connect to database.

command is as follows:

sqlplus <db_username>/<db_password> @test.sql

Is This Answer Correct ?    19 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the first line in every perl script called?

791


determine the output of the following command: echo ${new:-variable}

746


What is bash eval?

750


What is a scripting language simple definition?

794


how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?

3830


Is shell and terminal the same?

797


What are zombie processes?

763


What is difference between bash and shell?

748


What are the two files of crontab command?

855


Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.

934


is this growing field and what is average package in this?

2075


how to get part of string variable with echo command only?

769


What does .sh file contain?

728


What are different types of shell?

669


What is shell scripting?

778