Oracle triggers can be divided into DML triggers, instead of triggers, and system triggers.
Only DML update supports column-level triggers. ,
The format is as follows:
Create or replace trigger t_name
Before update of column1, colum2 on table
When I was engaged in the database, I found such a field with the type of number (38). I checked the data in it,
1323957678114132132699429513221293068041322129716220
It should be the current millisecond value at 00:00, January 1, January 1, 1970.
I do not know much about Oracle, but I do not know much about oracle in Linux. Find the server Sid as needed
Baidu: I found an answer.
1. environment variables:
Command: ENV | grep Oracle
If you have sufficient permissions, You can see
--- Create a tablespace in Oracle ---Create tablespace ssitablespaceDatafile'/Opt/Oracle/DB/oradata/iptvrpt/lv_ssitablespace1tbs' size 20 m autoextend on next 10 m maxsize 100 mExtent management local segment space management auto;
--- Create a
From Installing oracle on Linux to using Oracle for just a few days, hundreds of problems are encountered. Listener refused the connection with the following error ora-12519 listener refused the connection with the following error: ORA-12519, TNS:
Order by is used to sort the select results. It is very simple, but let's summarize it.
1. sort by column name. The default value is ascending.
Single Column Ascending Order: Select from order by ;
Single Column descending order: Select from
◆ Oracle query user tablespace: Select * From user_all_tables
◆ Oracle queries all functions and stored procedures: Select * From user_source
◆ Query all oracle users: Select * From all_users.select * From dba_users
◆ Oracle view current user
A few days ago, a customer was given an Oracle Upgrade from the original Oracle9i to Oracle10g.
After the upgrade, an exception is reported on the page for generating a tree navigation chart, which cannot be opened.
This problem was originally
We all know that Oracle will automatically handle deadlocks without human intervention, but Oracle cannot handle session blocking on its own. Blocking leads to resource waste and system performance consumption, at this time, we need to quickly find
Below is my summary of P6 Oracle configuration in Windows:1. Modify the path D: \ oraclexe \ app \ oracle \ product \ 10.2.0 \ Server \ Network \ ADMIN on the computer of each client as follows:Host = even.oracle.comNote: even.oracle.com is the host
Flashback transaction Query
Flashback transaction query is also implemented using undo information. This function allows you to view all the changes in the execution of a transaction. You need to access the flashback_transaction_query view. The Xid
Several parameters are displayed consecutively with the implicit parameters of the Oracle optimizer._ Sort_elimination_cost_ratioRelated Optimization cases (referRefer ).
If _ sort_elimination_cost_ratio is used as the keyword to query on Metalink,
As follows:
Tip: commit is required after execution. Of course, you do not need to execute another statement update. Otherwise, you may find that the update is useless.
1. log on to the database as a DBA
Connect sys/change_on_install @ hhxx as
Purpose --- enable Oracle startup --- disable Oracle before restarting the server --- oracle can use the service command to start and stop Oracle
1. Modify the Oracle system configuration file:/etc/oratab // oratab format: Sid: ORACLE_HOME: Auto# Vi/
When using hibernate, we accidentally used _ teacher as the table name. Then I encountered the ora-00911 error. Later, I checked the Oracle error document as follows:
Invalid character ORA-00911
Cause
Special characters are valid only
These are important
1. Create a tablespace and a temporary tablespace
Create tablespace datafile ' 'size m
Create temporary tablespace tempfile' 'size m
Example:
Create tablespace test datafile 'd:/Oracle/product/10.2.0/oradata/orcl/test. dbf'
Operations in relational algebra can be divided into two types:
(1): traditional set operations. And, difference, intersection, Cartesian product.
(2) expanded relational operations: projection (vertical separation of Relational Tables), selection
If I didn't use ORACLE lead this time, I wouldn't have found that it was so useful.
Oracle statistical analysis function lead
Syntax structure:
Lead (value_expr [, offset] [, default]) over ([query_partition_clause] order by
Even if BW is not available, Bo can directly connect to the ECC database to generate reports. For webi, you can use universe-> data base, xcelsius, and more methods, including liveoffice, qaas, and Web Service. today we will talk about how universe
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.