ORACLE 在哪个地方建表呀 SQL@PLUS??

解决方案 »

  1.   

     初学先用pl/sql吧.找份教程,会有详细的介绍。
      

  2.   

    打开cmd窗口
    sqlplus scott/tiger;
    就可以进入scott用户 在用户下建表
    如果scott用户别锁住
    conn sys as sysdba口令不用输 直接回车就可以
    alter user scott account unlock;
    再次进入scott用户  开始create table 
      

  3.   

    SQL PLUS没有图形化的见表工具,只能运行SQL语句建表
      

  4.   

    用plsql吧,里面可以建表,可以查询,可以执行命令。
    而且还有自动提示功能。自带的sqlplus用起来比较麻烦
      

  5.   

    俺写的一个支持多种DBMS工具的超级命令行工具:
    d:\shared\xsql>xsql scott/tiger@oracle@localhost:1521:ora92
    xsql:oracle:/> .list tables
    +------------+
    | TNAME      |
    +------------+
    | A          |
    | A1         |
    | AUTHOR_TAB |
    | A_NT2      |
    | B          |
    | BIG_TABLE  |
    | BONUS      |
    | C          |
    | C_NT14     |
    | D          |
    | DEPT       |
    | E          |
    | EMP        |
    | MARKETS    |
    | OO4O_LONG  |
    | PLAN_TABLE |
    | SALGRADE   |
    | T          |
    | T123       |
    | T1234      |
    | T7         |
    | TAB2       |
    | TEST_TAB   |
    | TT         |
    | TTT        |
    | USERS      |
    +------------+
    total count: 26
    xsql:oracle:/> select count(*) from t
    +----------+
    | COUNT(*) |
    +----------+
    | 3        |
    +----------+
    total count: 1
    xsql:oracle:/> create table t5(id int, col2 varchar(32))
    updated count: 0
    xsql:oracle:/> insert into t5 values(1, '中国')
    updated count: 1
    xsql:oracle:/> select * from t5
    +----+------+
    | ID | COL2 |
    +----+------+
    | 1  | 中国 |
    +----+------+
    total count: 1
    xsql:oracle:/> .quit                               AAAAAAA
                                  A:::::::A
                                 A::::A::::A
                                A::::A A::::A
                               A::::AAAAA::::A
                              A:::::::::::::::A
                             A:::::::AAA:::::::A
                            A::::::::A::::::A:::A
                           AAAAAAAA::::::AAAAAAAAA
                      Designed by Sean Ho([email protected])
                                 See you arround!
                      +------------------------------------+
                      +       XSql (a simple sql tool)     +
                      +------------------------------------+
      

  6.   

    建表用sqlplus 但这个是没有图型化界面的
    初学在建库的时侯把创建示例数据的勾选上,
    再解锁scott有户,
    这个里的对象基本上够用了,
    且多数教程上用的例子的也是这个里的东西
      

  7.   

    建议新学习 还是 SQL@PLUS 
    如果 是项目要用的话 用过PL/SQL