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 first character of the output in ls l command?
What are the dos commands?
What is “chmod” command?
Explain the steps that a shell follows while processing a command.
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What is in grep command?
How do I use grep to search for a file?
How do you grep a case insensitive?
What is the use of finger command?
What is the use of cut command in unix?
How do I clear my terminal history?
What does the metacharacter mean?
What is .sh file?
How to use grep command to list find the records of a file containing 10 different strings?