The basic operational directives for Oracle databases are described in the previous article: Add, delete, change, check the following for database managementIntroduction to Database RolesData Administrator: there is at least one DBA for database
--Refer:--http://www.cnblogs.com/gnielee/archive/2009/09/09/1563154.html--http://www.cnblogs.com/yudy/archive/2012/07/18/2597874.htmlCREATE OR REPLACETYPE Ty_str_split is TABLE of VARCHAR2(4000);CREATE OR REPLACE FUNCTIONSplitstr (p_stringinch
Oracle performs SQL processing: syntax checking, semantic checking, parsing of SQL statements, execution of SQL, and return of results.The PGA is an area of memory that is independent of the SGA, and when the user process connects to the Oracle
Generating random data under SQL Server is much more dry, but I'm stupid under Oracle. Not used Oracle, do not know what to do? SQL Server relies on tablesample or checksum (NEWID ()) for random sampling, and Oracle has its own random sampling
Original: jquery implemented cascade operations (with Oracle database) using Hibernate as the underlyingSource code: Http://www.zuidaima.com/share/1564685226675200.htmTo relieve stress, the Hibernate jar package in the project has been removed.
The following are Oracle Master quotations:
Oracle Database developers should follow is to do everything they can in SQL. What they cannot does in SQL, they should does in PL +. And what they cannot does in PL/SQL, they should do in
1.Sequence
n automatically generates a unique number n is a shared object n A typical primary key applied to a table N Alternative application code N Place the serial number value in the cache to increase access speed
Environment:Red Hat Enterprise Linux Server Release 6.6Oracle Database 11g Enterprise Edition Release 11.2.0.4.0-64bit Production--Create a directoryCreate or replace directory Txt_dir as '/opt/oracle/database/exptxt ';Grant Read,write on directory
Save the data from each table in another table:CREATE VIEWParameter_view asWithTall as(SELECTP.pi_no,--Product serial numberP.serialno,--Product CodeP.pi_name,--Product NameP. pi_start_date,--product start dateP.pi_end_date,--Product Period DateP.pi_
Oracle uses virtual column rownum to query the number of records between a specified number.The first line of Rownum=1For example, we want to query the first five records, you can useSELECT * FROM table name where rownumBut if we use rownum>5, we
After successfully installing the Oracle 11g database, you will find that your computer is running slower, that your computer is running faster with a lower-profile PC or even a very card-enabled Oracle service. So, how do you do it
By configuring the Sqlnet.ora file, we can modify the Oracle login authentication method.Sqlnet. Authentication_services= (NTS); operating system-based authenticationSqlnet. Authentication_services= (NONE); Oracle-based authenticationSqlnet.
Force the user to change the password regularly, how to set?Assuming that the password must be modified after 10 days, the grace period is 2 days:Back up your computer for 10 days, then log in:The system prompts the user password to expire within
After Oracle is installed, there is a default Scott user who has a default EMP table, and how does the newly created user have access to the table as well?Authorized xiaoming This user to access the EMP table, but xiaoming only SELECT permissions,
the use of the--oracle trunc () function/************** Date ********************/Select Trunc (sysdate) from dual--2011-3-18 today's date is 2011-3-18Select Trunc (sysdate, ' mm ') from dual--2011-3-1 Returns the first day of the month.Select Trunc
Oracle Developer code
The following are quotations from Oracle:
Oracle Database developers shocould follow is to do everything they can in SQL. what they cannot do in SQL, they shoshould do in PL/SQL. and what they cannot do in PL/SQL, they
Oracle442 Application Instances ---------- initialize the parameter file
---------------- Initialize the parameter file --------------------Before 9i, the initialization parameter file used by oracle is pfile. 9i started to reference SPFILE but kept
Oracle retrieves data from each table and saves it to another table.
Obtain data from each table and save it to another table:
CREATE VIEWPARAMETER_viewWITHTall(SELECTP. PI_NO, -- product serial numberP. SERIALNO, -- product no.P. PI_NAME, --
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