0 Comments


What is := in PL/SQL?

= is the equality comparison operator, both in PL/SQL and SQL. := is the PL/SQL value assignment operator. These are analogous to == and = in C-derived languages.

How to create a trigger in PL/SQL?

Creating Triggers in PL SQL

  1. CREATE [OR REPLACE ] TRIGGER trigger_name: It creates or replaces an existing trigger with 'trigger_name'.
  2. AFTER : This statement specifies when the trigger would be executed.

How to do performance tuning in PL/SQL?

To make SQL statements in a PL/SQL program as efficient as possible:

  1. Use appropriate indexes. …
  2. Use query hints to avoid unnecessary full-table scans. …
  3. Collect current statistics on all tables, using the subprograms in the DBMS_STATS package. …
  4. Analyze the execution plans and performance of the SQL statements, using:

How to run package in PL/SQL?

In either the Data Source Explorer or the Data Project Explorer, right-click the PL/SQL package or routine that you want to run, and click Run. Tip: You should not run routines by using the Run As option from the pop-up menu in the routine editor. The routine runs on the database server.

Надо написать функцию, которая примет “Корпорация Андромеда” и выведет наоборот, т.е. – “Андромеда Корпорация”. Вот эта функция, все ок, …
У цьому посібнику ви побачите детальний опис того, як створити та виконати названі блоки (процедури та функції). Процедури та функції — це …
9 Using PL/SQL Packages. This chapter shows how to bundle related PL/SQL code and data into a package. The package might include a set of procedures that …

Related Posts