Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam C2090-616 All Questions

View all questions & answers for the C2090-616 exam

Exam C2090-616 topic 1 question 59 discussion

Actual exam question from IBM's C2090-616
Question #: 59
Topic #: 1
[All C2090-616 Questions]

If you are already connected to a database, what does running the following statement do?

Db2 CONNECT -

  • A. Prompts you for the database name or alias
  • B. Returns information about the current server
  • C. Prompts you for the authentication information
  • D. Returns an error, because you provided no database or alias
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Reference: https://www.ibm.com/support/knowledgecenter/en/SSEPEK_10.0.0/sqlref/src/tpc/db2z_sql_connect.html

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
JamesBond
3 years, 4 months ago
Answer is B if you are connected then [db2inst2@vbox1 ~]$ db2 connect Database Connection Information Database server = DB2/LINUXX8664 11.5.5.0 SQL authorization ID = XXXXXXX Local database alias = XXXXXXX
upvoted 1 times
...
Kalliopi
4 years, 2 months ago
Answer is B. Question specifies "If you are already connected to a database" .
upvoted 2 times
...
deepdg23
4 years, 4 months ago
Answer should be D: db2 CONNECT SQL1024N A database connection does not exist. SQLSTATE=08003
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...