顺便问下,datafile的路径在不知道的情况下怎么办,有什么办法能自动获得,'D:/ORACLE/ORADATA/TESTDB/这段路径

解决方案 »

  1.   

    用动态SQL行不行?
    execute immediate()
      

  2.   

    错误提示:
    ORA-06550: 第 7 行, 第 6 列:
    PLS-00103: 出现符号 "CREATE"在需要下列之一时:
    begin case declare exit
    for goto if loop mod null pragma raise return select update
    while with <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> <<
    close current delete fetch lock insert open rollback
    savepoint set sql execute commit forall merge
    <a single-quoted SQL string> pipe