How to open a Database using Unix Command Please Do Reply
Answer Posted / srinivas panguluri
Answer for DB2:
db2 connect to database_name user schema_name using password
For rest of the SQL queries add db2 as alias
ex: db2 select * from tablename.
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is the comma to display different lines that are found when compare two files?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What is unix command line?
What is sed awk grep?
Which command is used to copy files?
What is the difference between cat and more command?
What is command statement?
What is the nmap command?
What is awk command used for?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
Explain command to show the space allocation of files?
What are reported commands?
Give the command for finding the current date.
What is the search command in unix?