用ODAC6.25連接ORACLE10g
向一個表中插入字串資料“socket埠”,OraSession采用LoginPrompt登錄資料庫時,插入這個字串資料沒有問題。
如果不采用LoginPrompt登錄資料庫,而是用以下代碼登錄資料庫,則問題來了。
OraSession1.Server := '192.168.0.2:1521:DB';
OraSession1.Username := 'UserName';
OraSession1.Password := '12345';
OraSession1.Options.Direct := True;
OraSession1.Options.Net := true;
OraSession1.connectprompt := false;
具體問題是:單獨插入類似字串'socke'沒問題,如果在字串字母后面加幾個漢字,如插入字串資料“socket埠”,則彈出以下例外提示。
Project Demo.exe raised exception class EInternalError with message ''.Process stopped. Use Step or Run to continue.
這是什么原因?
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/59115.html
標籤:數據庫相關
上一篇:如何在delphi中呼叫sql的存盤程序?????資料庫的課程設計,以前沒有學過delphi用了兩天的時間自習了一點點,不是很懂
