Switching to a different Sybase database |
|
When you start sqsh, the database the TCC first created for you is opened for you. If you have another database, you may want to work in it instead.
At the end of each command press the space-bar or press enter before continuing the next step.
use
go
If everything works okay, you see your database prompt change to the new database name, and the counter will reset to 1.
For example, if you change to a database called pubs2 by typing
use pubs2 go
and pressing enter you see
.pubs2.1>
If you see something like
Msg 911, Level 11, State 2
Server '', Line 1
Attempt to locate entry in sysdatabases for
database 'pubs' by name failed - no entry found
under that name. Make sure that name is entered
properly.
then you typed a database name that is not valid. Try it again
with the right name.
|
Maintained by John Shipman, john@nmt.edu;
original by Steve Anderson
Last updated: 1997/06/25 00:43:49 UT URL: http://www.nmt.edu/tcc/help/db/sybase/db_switch.html |
|