資源描述:
《plsql安裝配置和使用說明》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫(kù)。
1、PLSQL安裝配置和功能說明1.PLSQL簡(jiǎn)介PL/SQLDeveloper是一個(gè)集成開發(fā)環(huán)境,專門面向Oracle數(shù)據(jù)庫(kù)存儲(chǔ)程序單元的開發(fā)。如今,有越來越多的商業(yè)邏輯和應(yīng)用邏輯轉(zhuǎn)向了OracleServer,因此,PL/SQL編程也成了整個(gè)開發(fā)過程的一個(gè)重要組成部分。PL/SQLDeveloper側(cè)重于易用性、代碼品質(zhì)和生產(chǎn)力,充分發(fā)揮Oracle應(yīng)用程序過程中的主要優(yōu)勢(shì)。2.PLSQL安裝以如下圖所示的軟件版本為例點(diǎn)擊安裝,安裝完成之后通常需要注冊(cè)注冊(cè)碼;根據(jù)所需碼進(jìn)行注冊(cè)(產(chǎn)品號(hào)、序列碼、密碼……
2、)forthequalityofreviewsandreview.Article26threview(a)theCCRAcompliance,whethercopiesofchecks;(B)whetherdoubleinvestigation;(C)submissionofprogramcompliance,investigationorexaminationofwhetherviewsareclear;(D)theborrower,guarantorloans-39-當(dāng)然也可以通過上網(wǎng)進(jìn)行搜索相關(guān)注
3、冊(cè)所需信息。1.PLSQL使用1.1.PLSQL使用前提條件Pl/sql在正常使用前必須有oracle數(shù)據(jù)庫(kù)環(huán)境,(安裝oracle服務(wù)器端或者客戶端數(shù)據(jù)庫(kù)軟件)。以安裝了oracle11g客戶端軟件環(huán)境為例1.1.1.tnsnames連接找到tnsnames.ora文件,如圖所示:forthequalityofreviewsandreview.Article26threview(a)theCCRAcompliance,whethercopiesofchecks;(B)whetherdoubleinve
4、stigation;(C)submissionofprogramcompliance,investigationorexaminationofwhetherviewsareclear;(D)theborrower,guarantorloans-39-在安裝的oracle數(shù)據(jù)庫(kù)文件夾:F:appliuproduct11.1.0db_1NETWORKADMINtnsnames.ora不管是oracle的10g還是11g版本,主要是找到標(biāo)紅的文件夾本例子完整的路徑如下:F:appliupr
5、oduct11.1.0db_1NETWORKADMINtnsnames.ora1.1.1.tnsnames配置打開tnsnames.ora文件進(jìn)行編輯在文件中增加如下內(nèi)容:MISSDDB=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.6.0.241)(PORT=1521))(CONNECT_DATA=(SID=orcl)))或者forthequalityofreviewsandreview.Article26threview(a)theCCRAcom
6、pliance,whethercopiesofchecks;(B)whetherdoubleinvestigation;(C)submissionofprogramcompliance,investigationorexaminationofwhetherviewsareclear;(D)theborrower,guarantorloans-39-OPIDSSCK_231=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.6.0.231)(PORT=1521))(
7、CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=opids)))添加這兩段的目的是增加兩個(gè)數(shù)據(jù)庫(kù)的連接(MISSDDB、OPIDSSCK_231)如圖:1.1.PLSQL常用功能1.1.1.登陸當(dāng)打開PL/SQLDeveloper時(shí),直接在“登錄”對(duì)話框中輸入用戶名、密碼、數(shù)據(jù)庫(kù)(本地網(wǎng)絡(luò)服務(wù)名)和連接為的身份(除了sys用戶需要選擇連接為sysdba之外,其他用戶都選擇標(biāo)準(zhǔn)/Normal)。forthequalityofreviewsandreview.Art
8、icle26threview(a)theCCRAcompliance,whethercopiesofchecks;(B)whetherdoubleinvestigation;(C)submissionofprogramcompliance,investigationorexaminationofwhetherviewsareclear;(D)theborrower,guarantorloans-39-圖中所示是測(cè)試自己本機(jī)的oracle數(shù)據(jù)