One: Why you need to use database designDatabase design enables the database to work efficiently and healthily through a robust database structure.two. Database design principles ( database design, system design, architecture design)1. Familiarity
Alter session Set Nls_date_format = ' Yyyy-mm-dd,hh24:mi:ss '; set linesize 400col sql_id format a20col name format A20col da tatype_string format a14col value_string format A20select sql_id,name, datatype_string, last_captured,value_string from
First, Trigger a trigger is a block of code that executes automatically when a particular event occurs. For example, a record is added to the log table each time an action is made to add or delete an employee table. triggers and stored procedures
First, view the usage of table space in Oracle databaseSelect A.tablespace_name "tablespace name", Total "tablespace size", free "table space remaining Size", (total-free) "Tablespace use size", total/(1024 *1024*1024)
In the development process, the Oracle database is sometimes connected, sometimes not even, prompting the following exception "Ora-12519:tns:no appropriate service handler found resolved", It is possible that the current number of connections on the
One: The basic principle of cursorscursors are used to process multiple rows of records retrieved from the database (using the SELECT statement). Cursors allow the program to process and iterate through the entire set of records returned one at a
Oracle Tips by Burleson ConsultingOctober 26, 2008Question: I need A-verify that my OEM and isqlplus and Oracle services is started. How does you start the Oracle services?.Answer: Oracle Windows processes is more difficult to manage as services,
The project uses:First of all: The Flash back method has a premise, is the need to identify problems early, decisive action. If the record of the misoperation has been cleared in the Undo table space, this method is not available and needs to be
[[email protected] ~]$ sqlplus/as sysdbasql*plus:release 11.2.0.4.0 Production on Mon Apr 17:19:32 2015Copyrigh T (c) 1982, Oracle. All rights reserved. Connected to an idle instance. Sql> Startup ORACLE instance started. Total System Global area 10
The original field type is VARCHAR2, in fact, are numbers, you want to change the field type to number, error Ora-01439:column to be modified must is empty to changes datatypeWorkaround:TableName is the table name, ColName is the name of the field
Get all the hours in a whileSELECTTo_date ('2013-07-01','YYYY-MM-DD hh24')+(ROWNUM- 1)/ -Sdate fromDualconnect byROWNUM(To_date ('2013-07-02','YYYY-MM-DD hh24')-To_date ('2013-07-01','YYYY-MM-DD hh24'))* - + 1;Get all the days in a
Oracle Study--DBCA Build library errorSystem environment:Operating system: RedHat EL54Oracle:oracle 11gR2Failure phenomena:After installing the 11GR2 software ready to create the database through DBCA, execute DBCA with the following error:[Email
Orecle returns an error when deleting a table ORA-24005: using an inappropriate utility to execute ddl on the aq table **
Recently, I want to copy the entire database from the server.
Therefore, a new database is created locally.
When deleting
OraclX64 and plsql Miscellaneous
First install orcal X64.
Configure \ tnsnames. ora with orcal NetManger.
After installation, use sqlplus to check whether the client has been installed.
Enter sqlplus and prompt to enter the user name. Enter user/
Use mergeinto of ORACLE10gBefore Oracle 10 Gb, the merge Statement supports two simple usage methods: matching and updating and inserting non-matching. In 10 Gb, Oracle enhanced the merge statement and added the condition options and DELETE
[Oracle] database table structure command
When writing project documents, you may need to write the database table structure. It is very inefficient to right-click the editor to view the table structure and copy rows in one row. You can view the
Oracle practical tips
1. Flashback
Note: delete the "T_SPC_ROOM" table, but you can use the following command to restore the table without commit.
flashback table MW_APP.T_SPC_ROOM to before drop2. Handling special characters
NOTE: If special
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