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


Please Help Members By Posting Answers For Below Questions

What is awk good for?

563


What does awk stand for?

585


What is the size of time_t?

610


What does #!/ Bin sh do?

563


Which command can you use to find the currently running process in unix server?

568






How do I search for a file in unix command?

531


What is pipe command in unix?

646


How do you grep recursively?

537


What is awk command used for?

580


What is the use of cut command in unix?

663


What are filter commands in unix?

533


What command is used to check the current users?

570


What does touch command do in unix?

690


What is the use of find command in unix?

556


Explain mount and unmount command.

592