In SQL server I can use the USE statement to switch between working databases. Is there a similar command for DB2?
Tell me more
×
Database Administrators Stack Exchange is a question and answer site for
database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.
|
|
||||
|
|
|
The concept of a "database" in SQL Server is much closer to a schema in DB2. An entire MS SQL database engine is much closer to a DB2 database:
It's not a perfect comparison; there are a number of differences:
Therefore, technically the closest equivalent to MS SQL's However, it's not a requirement to issue the
are equivalent to:
Using |
|||
|
|