I. Description of the problemWhen a table structure modification is made to the base table used on the view, it will trigger invalid views and compile errors, and the view resolution must be rebuilt.Two. Problem reproduction1.oracle10g Environment1.1
date:20140525Auth:jinFirst, the service side to start the service and create accounts# su-oracle$ lsnrctl Start$ sqlplus/as SYSDBASql> Startupsql> alter user SYS identified by admin; #修改sys密码User altered.Sql> create user Jin identified by com123;
I. Buffer overflow,limit of 10000 bytesDeclareBeginFor C in 1..1000 LoopDbms_output.put_line (' Test and test test ');End Loop;EndThe default size of the buffer is 10000 bytes. Loop 1000 times on a total of 6,000 Chinese characters, namely 12000
SELECT * FROM (select A.*,rownum Rd from [TableName] where [condition] order BY [condition]) A where row Num=[startpage*pagesize];1.select * FROM [tablename] where [condition] order BY [condition]Sorting data tables by criteria as the basic data for
AWR snapshotBy default, Oracle automatically generates a snapshot every hour, saving a snapshot for the last 8 days.We can get the time interval and number of days to generate the snapshot by using the following statement:[Email protected] (lx15) >
Depending on the requirements of the project, PHP is required to transfer data from Oracle (on another machine). Because it is on the window platform (my environment is Win32 XP), the first thing to think about is the PHP OCI8 extension.Since I have
An index is an optional structure maintained by Oracle that provides fast access to data. It is difficult to know exactly where to use the index, and it is advantageous to use the index to adjust the retrieval speed. When an index is established,
Oracle's paging queryOracle's paging query statements can be applied basically in the format given in this article.Paged Query format:SELECT * from SELECT A.* from (SELECT*fromWHERE + WHERE >= +The most internal query, select * FROM table_name,
_connectionptr pconn;//connection to the image_RecordsetPtr prect;//Record Set object_commandptr pcmd;//Command ObjectPrect.createinstance (__uuidof (Recordset));Pconn.createinstance (__uuidof (Connection));//l connection to the
today is helping a friend rewrite the SQL statement, to rewrite the original Oracle statement into a MySQL statement, encountered the following statement:SELECT * FROM (select dp.* to D_item di join d_product dp on (DI.PRODUCT_ID=DP. product_id)
Tag:des c tar ext a file Resolution process: 1. Find Listener.ora listening file, location: D:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora 2. Found in the Lisener.ora file (Sid_desc = (Sid_name = clrextproc)
1. Let SELECT TO_CHAR (sal, 'l99, 999.99 ') FROM emp where rownum SELECT TO_CHAR (sal, 'l99, 999.99 ') FROM emp where rownum SELECT TO_CHAR (sal, '$99,999.99') FROM emp where rownum
/* -- Description: For the '$99,999.99' format OPERATOR:L:
Content
Server Environment
Client Environment
Overview
Start Database
Close Database
Supplement
References
This article describes how to start and shut down the Oracle database. Although the content is basic, it is required in
Object permission and system permission
Table creation and session creation are system permissions;The system administrator has the permission to access other tables.
Log On As sys
Sqlplus sys/on_change_install as sysdba;
Create user wangwu
Create
AWR Snapshot
By default, Oracle automatically generates a snapshot every hour to save the snapshot of the last eight days.
We can use the following statement to obtain the snapshot generation interval and retention days:
SYS@orcl(lx15)> select
The following table is saved in a database with information about a student sports meeting:Athlete sporter (athlete ID: sporterid, athlete name, athlete gender sex, department)Project item (Project No. itemid, project name itemname, project
Services to be started and shut down by Oracle:
1. OracleOracle_homeTNSListener corresponds to the Database Listener
2. OracleServiceSID corresponds to the database routine
3. OracleDBConsoleSID corresponds to Oracle Enterprise Manager (OEM)
Note:
Oracle service cannot be started. The following error is reported: Windows cannot start OracleOraDb10g_home1TNSListener. Error 1067: Unexpected Process Termination.
I haven't finished searching for it online for a long time. I have not set any
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service