如何从cmd进入数据库

来源:互联网 发布:淘宝赚大钱 编辑:程序博客网 时间:2024/06/04 22:55

1.oracle:

 

Microsoft Windows [版本 5.2.3790]
(C) 版权所有 1985-2003 Microsoft Corp.

C:/Documents and Settings/Administrator>sqlplus

SQL*Plus: Release 10.1.0.4.2 - Production on 星期一 2月 16 11:53:28 2009

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

请输入用户名:  用户名
请输入口令:    密码

连接到:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production

SQL>

 

2.sybase

 

isql -Uusername -Ppwd -Sserver