sql*plus中经常会引用@和@@来执行代码,不明白两个命令有和区别。比如我看到一个例子就是:@@ut_i_run ut_config_tab,不明白什么意思。

解决方案 »

  1.   

    sqlplus>help @@@ (double "at" sign)
    ---------------------Runs the specified script. This command is almost identical to
    the @ command. It is useful for running nested scripts because it
    has the additional functionality of looking for the nested script
    in the same url or path as the calling script. Only the url form
    is supported in iSQL*Plus.@@ {url|file_name[.ext]} [arg ...]主要是一些sql会互相调用,这个时候用@@