Trigger learning Summary
Note: The size of the trigger cannot be more than32K.
Create table emp_trigger
As
Select * from emp
Create or replace TRIGGERPrint_salary_changes
Before delete or insert or update on emp_trigger
FOR EACH ROW
WHEN
The configuration of tomcat 5.x and tomcat 6.x connection pool is different. Here, the configuration process of tomcat 6.0 is recorded.
Container: tomcat 6.0
Database: oracle 10g
Procedure:
1,
Put the driver package ojdbc6.jar of the
Refer to the Technical blog of eygle. In the test, _ disable_logging will affect the database. Because it is an implicit parameter, we can obtain the description of this parameter using the following method:SQL> select ksppinm, ksppdesc from x $
Summary of Oracle date timestamp Time FunctionsYyyy-mm-dd hh24: mi: ss. ff year-month-day hour: minute: Second. millisecond -- Last month, last yearSelect add_months (sysdate,-1) last_month, add_months (sysdate,-12) last_year from dual;-- Next month,
Author: runming QQ: 226399587 http://blog.csdn.net/runming9183. query Versions between VersionsMore powerful. With versions between, you can view different versions recorded in the undo tablespace within a specified period of time (note that only
PrefaceRecently, the company's technology and R & D have been asking me about how to set memory parameters to optimize oracle performance. So I took the time to sort out this document for reference. Purpose We hope to organize this document to give
Classes12.jar, ojdbc14.jar, ojdbc5.jar, and ojdbc6.jar When using the Oracle JDBC driver, do you solve some problems by replacing different versions of the Oracle JDBC driver? The most commonly used ojdbc14.jar has multiple versions, and
Create a new ADP_13 password: ADP_13Use system to log on to PLSQL (password: system)In the selection box, select users and press enter to find the user directory. Right-click drop to delete the original user, and right-click new User. The user name
Oracle integer functions include the following:1. Round (large) select ceil (-1.001) value from dual to large carryCEIL (-1, 0.12)-----------02. Round (small) select floor (-1.001) value from dual to small carryFLOOR (-1, 0.12)-------------1 3.
Some days ago, when I was working on a project, I encountered a very strange situation. Today I plan to write it down for my friends to share.When writing an Oracle statement, we may add the and logical operator behind the where statement, but there
Drop table test2; create table test (id integer not null, name varchar2 (100); --- empty alter table test modify (id null ); --- empty alter table test modify (id not null); --- add the alter table + add Clause alter table test add (ceilphone
Problem description: 1. the remote connection is normal. You can use pl/SQL developer to link to a remote database, but the local database service cannot be linked after it is enabled. if the local Database Listener cannot be opened, enter lsnrctl
Oracle Database Password validity period parameter 1. view the profile corresponding to the database user. SQL> select username, profile from dba_users; check the profile of the historical database user sersv IN THE displayed information. Generally,
The user name and password indicate that ctxsyscsysctxsys is an interMedia Text user and has the connect, resource, and dba permissions. DBSNMPDBSNMPDBSNMP includes the database roles of CONNECT and resourcehe snmpagent. Run the catnsmp. SQL script
First of all, there should be no problem with oracle11G installation. The main reason is that plsql is always unable to connect and reports various errors. None of them can be successfully installed online --! I installed three times failed three
If the archive log of Oracle is full, an error occurs when the application connects to the database. You need to manually delete the expired archive log as follows:1. Specify database instance $ export ORACLE_SID = db12. Enter rman $ rman3. connect
I. Set operation operator UNION: (UNION) returns the UNION ALL records of the Two sets that remove duplicate values. (UNION) returns the records INTERSECT (intersection) of the Two sets that remove duplicate values) returns all records of the two
Resolution of ora-01779 errors when optimizing update, given that update from is more efficient, but because oracle checks key values, a ora-01779 error is reported, by using BYPASS_UJVC to skip the Oracle key determination, the same effect is
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