oracle下特殊字元 &
1.sql server下是支援插入的
update ezoffice.menuset
set righturl='/defaultroot/infoaction.do?type=all&channeltype=0&userchannelname=資訊管理&userdefine=0&orderby=date'
where menuname = '資訊管理';
2.同樣的語句在oracle下執行就編譯都通不過,因為在oracle中&是乙個特殊的字串。
所以要寫成下句形式才能執行。
update oa_menuset t
set t.righturl='/defaultroot/infoaction.do?type=all'||'&'||'channeltype=0'||'&'||'userchannelname=資訊管理'||'&'||'userdefine=0'||'&'||'orderby=date'
where t.menuname = '資訊管理';
oracle 特殊字元轉義
環境 oracle 9i plsql 在plsql裡邊執行 update userinfo set pageurl myjsp?page 1 pagesize 10 where id test 這條sql語句往資料庫的pageurl欄位放進去了乙個url位址,但是執行的時候卻並非那麼理想,因為這其中...
oracle插入特殊字元
今天在匯入一批資料到oracle時,碰到了乙個問題 toad提示要給乙個自定義變數target賦值,一開始我很納悶,資料是一系列的insert語句,怎麼會有自定義變數呢?後來搜尋了一下關鍵字target發現,原來是因為在插入資料中有乙個欄位的內容如下 oracle把這裡的url的引數連線符 當成是乙...
Bash 特殊字元 下
test.sh filename 重定向 test.sh 的輸出到檔案 filename 中。如果 filename 存在的話,那麼將會被覆蓋。test.sh filename 重定向 test.sh 的 stdout 標準輸出 和 stderr 標準錯誤 到 filename 中。test.sh ...