Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
NAME
change - change or print current connection's database or schema

SYNOPSIS
change database [NAME]
change schema [NAME]

DESCRIPTION
Change current connection's database or schema. Print the current database or schema name if no NAME is provided.

EXAMPLES
To change to database pubs from master database
Code Block
change database pubs

...

      To change to schema dbo from public
Code Block
change schema dbo

SEE ALSO
describe
list