Compare | object | original
Pl/sql DEVELOPER 6 Object Comparison function description (original)
The Pl/sql DEVELOPER 6 object comparison function is very powerful and practical, and is a necessary tool for developers, mainly for the following purposes:
Check for different information for all objects under a
Tags: des style blog tar width get1. Log in to PL/SQL DeveloperThis omits the installation steps for the Oracle database and PL/SQL developer, and note that when you install the PL/SQL developer software, do not install in the pro
Transaction_sql Create TRIGGER command We have given the specific meaning of the reserved word. Below we will give two examples, these two examples are used in the If UPDATE (column) and if (columns_updated () respectively.
Note: You must first delete the relationships with the primary foreign key that the table title has established before the trigger can be triggered.
12.9.4 nested triggers
When a trigger executes, it can trigger another
Tags: triggers must be awarePb+ms sql+ triggers must be noted:if the trigger exists more than two return values, such as two article Update statement that was misjudged as the data is changed and the disk is unsuccessful. Tips:Row changed between retrieve and update.No changes made to database. so MS SQL
basis for SQL tuning; 4, Automatic replacement: Fast input SQL statements, such as input s, press the space, automatically replaced by select; for example, enter SF, press space, automatically replaced by select * from, very convenient, save a lot of time to write duplicate SQL statements. Setup method: Menu Tools–>preferences–>editor–>autoreplace (auto-replace)
The main content of this article is as follows:
6.1 Introduction
6.2 create a function
6.3 stored procedures
6.3.1 creation process
6.3.2 call a stored procedure
6.3.3 AUTHID
6.3.4 PRAGMA AUTONOMOUS_TRANSACTION
6.3.5 procedure
6.3.6 deletion process and Function
6.3.7 comparison of processes and functions
6.1 IntroductionProcedures and functions (In addition, packages and triggers) are named PL/
As we can see from the above introduction that triggers are powerful, how does MS SQL Server manage triggers to accomplish these tasks? Below we will make a more detailed introduction to its working principle and realization.
Each trigger has two special tables: Insert table and delete table. The tables are logical tables and are managed by the system, stored in
Basic PL/SQL settings 1. How to export table creation statements in batches? Select [Tools]-> [Export User Objects...] from the menu, and select the table to be exported in the window that appears. The SQL script exported in this way does not contain insert statements, that is, the data in the table is not exported at the same time, only DDL statements. 2. How to
to call the package process or functionWhen calling the package's procedure or function, you need to have the package name before the procedure and function, and if you want to access packages for other scenarios, add the scheme name before the package name. Such as: --Call the stored proceduresql> exec sp_package.update_sal (' SCOTT ', 8888);--Call functionvar income number;Call Sp_package. Annual_income (' SCOTT ') into:income;Print income; Special Note: The package is a very important part o
1. Super Long Pl/sql Code
Impact: maintainability, performance
Symptoms:
In complex enterprise applications, there are hundreds of thousands of rows of stored procedures or tens of thousands of rows of packets.
Why is the worst:
Too long pl/sql code is not good for reading, and third-party tools can cause code-lin
Tags: ber 11g formatted first character BMS type multi-line loop control other----------------------------the composition of PL/SQL------------------------------------------------------------The PL/SQL block consists of 3 parts: Declaration part, execution part, exception handling part[DECLARE]--declaration section: th
associated with the trigger are also deleted after the trigger execution is complete.The deleted table holds all rows that are to be removed from the table because of execution of the DELETE or UPDATE statement.The inserted table holds all rows to be inserted into the table because of an INSERT or UPDATE statement execution.Three:instead of and after triggersSQL Server2000 provides two trigger:instead of and after triggers. The difference between the
Restore the tables drop by pl SQL in oracle by mistake
View tables in the recycle bin
Select object_name, original_name, partition_name, type, ts_name, createtime, droptime from recyclebin;
Restore table
SQL> flashback table test_drop to before drop; orSQL> flashback table "BIN $ B + XkkO1RS5K10uKo9BfmuA = $0" to before drop;
Note: The full-text index cannot be r
Label:If you export only the structure of the table (build table statement), do not export the table data, you can tools--export User Objects Select the table you want to export, set the exported path and parameters, click Export to OK PS: This method can only export tables belonging to this user, other users of the table can not be exported, it is recommended to export with the command line (exp, IMP) If you want to export all of the table structure, table data,
We update the MySQL datasheet real-time trigger SQL Server in the corresponding table of additions and deletions, first of all, add the original MySQL table triggers, including the following three:Insert data:Delimiter | |DROP TRIGGER IF EXISTS t_afterinsert_on_accounts | |CREATE TRIGGER t_afterinsert_on_accountsAfter INSERT on sugarcrm642ce.accountsFor each ROWBEGININSERT INTO Sugarcrm642cebackup.accountsb
Document directory
Record and PL/SQL tables
Record and PL/SQL tables
1. What are record and PL/SQL tables?Record: a temporary record object type consisting of a single row and multiple columns of scalar type. Similar to multi-d
1.1 PL/SQL Introduction
PL/SQL is a procedural language of ORACLE, including a complete set of data types, condition structures, cyclic structures, and Exception Handling structures. PL/SQL can execute
1. PL/SQL developer remember the login password. When PL/SQL developer is used, PL/SQL developer wants to remember the login username and password for Oracle for ease of work. Setting method:
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.