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 do know about tee command?
What is the difference between awk and grep?
How do I find previous commands in unix?
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 grep command in unix with examples?
What is the size of time_t?
What is the use of sed command in unix?
Write a command to kill the last background job?
Which command will print your home directory on screen?
What do chgrp command do?
What is the behavioural difference between cmp and diff commands?
Which unix command to make a new directory?
What does this command do? Cat food 1 > kitty
How do you grep a case insensitive?
How do I run a whois command?