1. Transaction: A logical unit consisting of a set of commands that ensures that all operations either succeed or all fail.End of transaction: 1) Explicit commit (Commit) 2) explicit rollback (rollback) 3) DDL statement Stealth commit 4) normal End
Set pagesize 150;Col instart_fmt format A30Col inst_name format A20Col db_name format A20Col snap_id for 999999999999Col snapdat format A30Col lvl for 999999999999Select To_char (s.startup_time, ' dd Mon ' at "HH24:mi:ss ') instart_fmt,
The last time you used JDBC to connect to an Oracle database, you reported a SID-related error. Unable to connect to SID. The workaround is to use the format of the following method to connectFormat
Because of the need for work or exposure to many Oracle versions under Windows, this time a general summary of the database upgrade is made: Windows Oracle11.2.0.1 upgrade to Oracle11.2.0.4.But the vast majority of online programs are not used here:
1, first install Plsql client, Chinese, registration;2, download Oracle Client:instantclient-basic-nt-11.2.0.2.0.zip;3. Configuring the Plsql-tool-Connection Configuration Oracle home directory name path and OCI library path4. Configure oracle_home
In the recent work to use stored procedures and functions, simply take PL/SQL as a whole to look at. I've seen the basic books and the blog posts in the garden, and I'll summarize what we've learned here.First, the basic statement1. Case2,
Format one: Use ServiceName mode:Jdbc:oracle:thin:@//:/Example Jdbc:oracle:thin:@//xxx.xxx.xxx.xxx:1526/cdevAfter @ there is//, which is the main difference from using SIDS. (11g does not add after @//OK)This format is the recommended format for
1. Get an execution plan for SQL in PL developerEnter the target SQL for which you want to view the execution plan, and then press the shortcut key F5.2.explain Plan CommandExplain plan for + target SQLSELECT * FROM table (Dbms_xplan.display)3. Dbms_
1. Loop 1 to 10w value1 Create or Replace procedureproc_test2 as3 begin4 forIinch 1..1000005 Loop6 ExecuteImmediate7 'INSERT into t values (' ||I|| ')';8 Commit;9 EndLoop;Ten End; One /2. Use variable binding to reduce SQL
Environment: Simulating the creation of the main library use the Install option in the DBCA Start graphical interface option---> select Create and configure a databaseCreate a mock-up library using the Install option in the DBCA Startup graphical
All the field information (method) of the record whose minimum time is obtained by grouping in Oracle Database, and the oracle Field
Merge into user_member_info
USING (select min (UP. created) as cre, min (up. shop_no) as shop_no, up. memberid as
In oracle, how does one view the permissions granted to a role ?, Oracle Grant
In oracle, how does one view the permissions granted to a role?
Select * from dba_role_privs; grant roles to users and other roles
Select * from dba_sys_privs; grant
Detailed steps for installing oracle xe in centos, centos
1. Download the installation package
Go to the official website and find the corresponding version.
2. Upload to ECs
Here, I use WinSCP. the upload speed is based on the network speed. You
Oracle paging query tutorial and oracle paging tutorial
SELECT *
FROM (select rownum as rowno, t .*
FROM table t where rownum (page-1) * size;
Page with order by statement: SELECT *
FROM (select rownum as rowno, r .*
FROM (SELECT * FROM
Explain the stored procedures of Oracle and PLSQL.1. Create a stored procedure in plsql
Open plsql, right-click procedures, and create.
If the creation is unresponsive
Direct file-New-program window-blank, create a program windowStored Procedure
Tips for using Oracle Database varchar2, oraclevarchar2The maximum varchar2 length of Oracle, Encoding Problems
Varchar2 type:
Set the Oracle field length to varchar2 (4000 ),
1. When the character set of the database is set to gb2312, a Chinese
Oracle single-row subquery and multi-row subquery instances
1. the query is divided into primary queries and subqueries;
2. The records returned are divided into single-row subqueries and multi-row subqueries. single-row subqueries use single-row
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