Previously written, and later did not write, since all forgotten. Here re-learning Oracle's stored procedures, want to see people do not laughed at.It is first known that the start statement of the stored procedure is create OR REPLACE PROCEDURE
The syntax for Oracle to delete data in a table is:Syntax structure:DELETE from table name WHERE conditionCode Demo:Sql> DELETE from Infos WHERE stuid= ' s100103 '; 1 ROW DELETED sql> COMMIT;TRUNCATEIn a database operation, the truncate command (a
1. Oracle Index NULL problemWhen a single-column index is established on an empty merit column, if the search condition is null in the interpretation plan you can see that Oracle does not use index queries for this column;However, when a
Oracle gets a list of months between a time periodGet a list of months between a time period (example returns a list of months from 2009-03 to 2010-03) SELECTTO_CHAR(ADD_MONTHS(TO_DATE(‘2009-03‘,‘YYYY-MM‘),ROWNUM-1),‘YYYY-MM‘)
For table data Recovery, mistakenly delete the table data, generally do not operate this table, according to the following processing, you can restore the table data.Scenario: If you mistakenly delete the data in the table tabletest, you can use the
Description:JAVA springmvc+mybatis (Oracle and MySQL) HTML5 new tall still background frame bootstrap(skin-changing) 1. Support App phone app (Android and iOS) interface call2. New high-html5+css3.0+bootstrap development interface UI, beautiful and
Original: http://www.oracle.com/technetwork/issue-archive/2009/09-may/o39asktom-096149.htmlhow a constraint (constraints) in Oracle affects the query planOften people think that constraints are just about data integrity, no problem. But constraints
1. View the values of the current two parametersSqlplus/nologSql>conn/as sysdbasql>select Count (*) from v$session; From here we can see the current session numbersql>select Count (*) from v$process; From here we can see the current number of
Execution of the UPDATE statement was found to be unsuccessful for half a dayUpdate Main_order Set order_source = ' 2 ', order_status = ' 2 'Query which objects are lockedSelect object_name , Machine , s.sid, s.serial#from
How to modify user passwords in OracleIn the Oracle database, use ALTER user to modify the user password.GrammarALTER USER user_name identified by New_password;Parameter description:USER_NAME: The Oracle database user who wants to modify the
In Oracle development, the client sends SQL statements to the server, the server compiles and executes the SQL statements, and returns the results of the execution to the client.The Oracle SQL statement consists of the following commands: Data
The core of the Oracle database is the table, with the following common data types used by the columns in the table: CHAR (length)Stores a fixed-length string. The length of the parameter is specified, and is padded with spaces if the stored string
About the resolution of the Ora 01219 problemBefore learning Oracle to practice to create a table space, built a lot of manually deleted, and then use the user name you created to log into the database will cause the databaseORA-01031:ORACLE
Start of Oracle database stoppedLog in as an Oracle user and enter the following command:oracle-> sqlplus/nologsql*plus:release 9.2.0.1.0-production on Monday April 26 09:42:00 2004Copyright (c) 1982, 2002>>, Oracle Corporation. All rights
The following section explains the functionality of a table in the Oracle database, which stores successive time records, and also stores a tag bit.Now you want to get a result set: When the mark bit is 0 o'clock, take the previous 1 time data, and
OCP 11g Chapter 2 exercises, ocp11g Chapter 2 exercises
Exercise 2-1 Install SQL Developer on a Windows computer
In this exercise, SQL Developer is installed on a Windows computer
1. Download the current SQL Developer version from the following URL:
Oracle has many pitfallsOracle has many pitfallsExisting pitfalls include:1. Cold backup. The steps from Win32 to Win64 are required.2. Open the database gradually.Close: shutdownOpen: startup nomount alter database mount; alter database open;The
Use connect by prior in oracle to implement recursive query !, Oracleprior
Note: This article to reference other people's articles, links: http://blog.csdn.net/apicescn/article/details/1510922, I recorded just to facilitate viewing
Original article:
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