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

How to get the 3rd element/column from each line from a file?

963


What is computer cli?

682


What is meant by $1 in shell script?

742


I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?

985


Why is it called a shell?

707


How to set an array in linux?

819


What is the default shell of solaris?

790


Write down the syntax of "for " loop

825


What happens when you type ls?

761


How to pass an argument to a script?

799


Explain about sourcing commands?

843


What is sh in shell script?

775


Explain about non-login shell files?

915


Write a script to print the first 10 elements of fibonacci series.

2106


i have 2 tables 4 colums table 1 respective values a1 6, a2 8,a3 9,a4 14 & table 2 respective values a1 6, a2 8, a3 9, a4 12. if compare 2 tables 3 colums values same then 4th column values 1)Qes diff >5 then (5 * diff value ) 2)Qes diff <5 the 5 3)Qes diff 5 then 5 print respective values..

1967