triggers or in triggers on user's tables ALL_USERS Information about all users of the database ALL_VIEWS Text of views accessible to the user USER_AUDIT_CONNECT Audit trail entries for user logons/logoffs USER_AUDIT_OBJECT Audit trail records for statements concerning objects, specifically: table, cluster, view, index, sequence, [public] database link, [public] synonym, procedure, trigge
or in triggers on user's tables ALL_USERS Information about all users of the database ALL_VIEWS Text of views accessible to the user USER_AUDIT_CONNECT Audit trail entries for user logons/logoffs USER_AUDIT_OBJECT Audit trail records for statements concerning objects, specifically: table, cluster, view, index, sequence, [public] database link, [public] synonym, procedure, trigger,
Synonyms concept
The Oracle synonym (synonyms) is literally the meaning of the alias, and similar to the function of the view, is a mapping relationship. It can save a lot of database space, the operation of different users of the same table does not make much difference; it expands the scope of database usage, enables seamless interaction among different database users, and provides synonym management func
Lead: We do not want to add a business form to our base platform database, then we need to recreate a new database and associate two databases with a synonym.V6 is the base database, RT is the business database, there is a table in RT Book_count_monthThen create synonyms in V6, SQL as follows:--Create the synonym create or replace synonym Book_count_month for RT. Book_count_month;The database displays:Attac
default, so it is necessary to overwrite them in the class.If you do not overwrite the ToString () method, you must use the
for (int i=0;i
3. The order of the list collection requires the help of the collections tool class, the Collections.sort (List,new Comparator ()) method. So you need to customize a comparer class to define your own comparison rules.
2, using set set to implement(1) using TreeSet to achieve
Package com.package1;
Import java.util.*; public class Stuscor
Label:A synonym is a database object that is an alias defined for a database object , and the primary purpose of using synonyms is to simplify the writing of SQL statements . The concept and type of synonyms Synonyms can be used to define an alias for an object of a user, or an object of another user , to simplify the writing of a command or program , and to use synonyms directly in a command or program instead of the original object . You can create
A synonym is a database object that is an alias defined for a database object , and the primary purpose of using synonyms is to simplify the writing of SQL statements .The concept and type of synonymsSynonyms can be used to define an alias for an object of a user, or an object of another user , to simplify the writing of a command or program , and to use synonyms directly in a command or program instead of the original object .You can create synonyms
Yesterday a classmate asked why he developed the form executive Ctrl+f11 times out the following error:
ora-06553:pls-306: Parameter number or type error when calling ' Ogc_x '
I also feel very puzzled at the beginning of this mistake, in his form did not call any ogc_x method, can only step by step analysis to see what happened.
The first thing to think about is using the help–> feature to see what SQL statements are actually executed. ? [Copy to
The functionality of synonym management is provided in the Oracle database. Oracle synonyms are an alias for database schema objects and are often used to simplify object access and improve the security of object access.The management of the user in Oracle is managed using permissions, that is, if we want to use the database, we must have permission, but if someone else has granted us the rights,We can also operate on the database, but we have to type
mode, which will cause problems for the Application Server (Oracle Application Server) to use the oas pl/SQL cartridge component, if you encounter these problems and want to continue using the PL/SQL cartridge component of OAS, you must recreate some synonyms so that these synonyms can be referenced in the OWA package. Follow these steps to create a synonym for the source database:
1. The SYS account is connected to the database in SQL * Plus.
2
must replace the old versions of these packages when migrating to Oracle HTTP Server.
For more information about using PL/SQL gateway in Oracle HTTP Server, see http://hostname.domain: Port/pls/admin _/title.htm.
4. Restore the OWA package of the Application Server
When you install the new mod_plsql OWA packages, they are placed in SYS database user mode, which will cause problems for the Application Server (Oracle Application Server) to use the oas pl/SQL cartridge component, if you encounter
database mode to ensure that you install it only once. Note the existing Oracle Application Server (OAS) users must replace the old versions of these packages when migrating to Oracle HTTP server.
For more information on using the Pl/sql Gateway in Oracle HTTP Server, refer to http://hostname.domain:port/pls/admin_/title.htm.
Iv. Recovery of OWA packages for application servers
When you install new Mod_plsql OWA packages, they are placed in sys database user mode, which can cause problems for
the existing Oracle Application Server (OAS) users must replace the old versions of these packages when migrating to Oracle HTTP server.
For more information on using the Pl/sql Gateway in Oracle HTTP Server, refer to http://hostname.domain:port/pls/admin_/title.htm.
Iv. Recovery of OWA packages for application servers
When you install new Mod_plsql OWA packages, they are placed in sys database user mode, which can cause problems for the application server (Oracle Application Server) using O
[constraint 22]]
Create a view or redefine a view
Create or replace view view_name as subquery
If the table Table_1 does not exist, then using force to create the view succeeds, otherwise the report does not have an error.
Create force view V_name as SELECT * from Table_1
Using views to modify data
CREATE VIEW view_001
As
SELECT * FROM table_001 where idModifying data that is not in the view scope will also succeed.
Update view_001 set column1= ' 123 ' where id=10;
Modifying data that is not
cluster key field value is NULLCreate a Synongms SynonymCreate [public] synonym sy_name for objectCreate a table named table_001Create synonym tb1 for table_001Delete synonym Drop a synonymDrop synonym tb1Oracle synonym creation and its role (from http://www.jb51.net/databa
The Oracle synonym (synonyms) is literally an alias. Similar to the attempted function, it is a ing relationship. This topic describes how to create and delete a synonym statement.
The Oracle synonym (synonyms) is literally an alias. Similar to the attempted function, it is a ing relationship. This topic describes how to create and delete a
Tags: ace share syn comment ADA sha dict table sqlWhen a new feature of Oracel comes out, we may not know all the data dictionary names associated with this feature,So how do you get meta data for these meta data?Can be viewed through Dicitonary:For example, find a list of data dictionary names with memory in all the names:Sql> Col table_name for A30Sql> Col comments for A80Sql>select table_name,comments from dictionary where table_name like '%memory% ';TABLE_NAME COMMENTS-----------------------
.
Create or replace view sales_staff
SELECT empno, ename, deptno FROM emp WHERE deptno = 30
With check option constraint sales_staff_cnst;
Before replacing a view, consider the following:
Replacing the view replaces the definition of the view in the data dictionary and does not affect all the lower-level objects involved in the view.
If the constraints in check option have been defined earlier and the new view definition does not contain such constraints, the constraints will be deleted, all
the view v $ temp_space_header (Note: if the search content contains special characters, it must be escaped, as shown below)
[oracle@DB-Server admin]$ grep "v\$temp_space_header" *.sql
catspacd.sql:drop public synonym v$temp_space_header;
catspacd.sql:drop public synonym gv$temp_space_header;
catspace.sql:create or replace view v_$temp_space_header as select * from v$temp_space_header;
catspace.sql:cr
The Oracle synonym (synonyms) is literally an alias. Similar to the attempted function, it is a ing relationship. This topic describes how to create a synonym statement, delete a synonym, and view a synonym statement.Summary of oracle Synonyms:The meaning of an alias is literally the same as that of an attempt. Is a in
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.