You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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

change database pubs

 To change to schema dbo from public

change schema dbo

SEE ALSO

describe
list

  • No labels