Creating Multiple table in Oracle

后端 未结 2 883
孤独总比滥情好
孤独总比滥情好 2021-01-25 17:25

I am using Oracle Express 10g and I\'m enter the following text to create 2 tables in the sql command line, but it is not working.

CREATE TABLE student (
    mat         


        
相关标签:
2条回答
  • 2021-01-25 17:39

    By "command line" you probably mean the web application that comes with Oracle Express 10g. This application has several browser incompatibilities and is basically unable to execute several statements at once (also see Oracle 10g - invalid character on DB importing).

    Either put your statements in a text file and upload them as a SQL script. Or switch to a better tool such as SQL Developer (downloadble from Oracle web site).

    0 讨论(0)
  • 2021-01-25 17:54

    Are you sure you didn't type this out in WORD?

    Sometimes there are problems with "invisible" characters. For example if you hit TAB in WORD, it will store it as a special character which will thereby cause an error when you try running it in SQLPlus.

    0 讨论(0)
提交回复
热议问题