我想用來插入在sqlplus中有@符號的字符串,但是sqlplus讀取字符串就像我試圖打開一個.sql文件。有沒有辦法阻止sqlplus這樣做。SQLPlus在字符串中使用符號@ @
前
set define off;
DECLARE
test CLOB
:= q'[
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */ ]' ;
BEGIN
INSERT INTO SOME_TABLE
VALUES(test)
END;
/
有沒有辦法通過一個腳本來更改限制級別爲3?這樣它就會消除啓動命令。然後將限制設置回默認值? – jay 2014-11-09 22:50:27