oracle的substr函數的用法 取得字串中指定起始位置和長度的字串 substr( string, start_position, [ length ] ) 如: substr('This is a test', 6, 2) would return 'is' substr('This is a test', 6) would return 'is a test' substr('TechOnTheNet', -3, 3) would r
Oracle 10g Express Edition是Oracle專門為小型使用者提供的免費版本。Oracle XE十分小巧,安裝簡單,可供第三方軟體開發商部署較小的應用。 不過Oracle XE目前的beta2預設安裝的字元集是WE8MSWIN1252,不是中文字元集,並且不能通過直接運行 alter database character set ZHS16GBK ; 來修改,因為ZHS16GBK不是預設字元集的超集。
1, ASM磁碟的類型選擇1:裸裝置/dev/raw/,需要raw服務支援.選擇2:ASMLib管理,需要安裝Linux下ASMLib的rpm包,建立ASM可以識別的VOL.2, ASM磁碟的管理刪除磁碟組中的磁碟成員alter diskgroup dgroup1 drop disk VOL2;刪除磁碟組drop diskgroup DISKGROUP1 including contents;只有當磁碟組中磁碟被刪除後,磁碟組才能從ASM刪除.建立磁碟組create diskgroup
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->CREATE OR REPLACE PROCEDURE send_mail ( pemail IN VARCHAR2, ppw IN VARCHAR2, pid IN VARCHAR2)IS l_mailhost VARCHAR2 (64)
交易處理是所有大型資料庫產品的一個關鍵問題,各資料庫廠商都在這個方面花費了很大精力,不同的交易處理方式會導致資料庫效能和功能上的巨大差異。交易處理也是資料庫管理員與資料庫應用程式開發人員必須深刻理解的一個問題,對這個問題的疏忽可能會導致應用程式邏輯錯誤以及效率低下。 下面我們針對Oracle及SQL Server這兩種當前廣泛使用的大型資料庫產品,探討一下它們在交易處理方面的一些差異。如沒有特殊說明,本文內容適用的資料庫產品版本為Oracle9i及SQL Server 200
執行個體一create or replace trigger update_portaUser_pass after update on cas_porta_user for each rowdeclare -- local variables herebegin update security_credential c set c.column_value=:NEW.COLUMN_VALUE where c.principal_id in (select
有時候我們可能不知道一個使用者的密碼,但是又需要以這個使用者做一些操作,又不能去修改掉這個使用者的密碼,這個時候,就可以利用一些小竅門,來完成操作。具體操作過程如下:SQL*Plus:Release 9.2.0.5.0 - Production on 星期日 11月 21 13:32:34 2004Copyright (c)1982, 2002, Oracle Corporation. All rights reserved.SQL> connectsys/oracle as
Microsoft’s vision for .NET is a wide one. In addition to their desire for it to support all programming languages, either directly or through interoperability layers, they also want to bring together all communication frameworks and data storage