Database Link: The main purpose is to access the remote database. You can directly access the remote database through the database link.
Synonym: To make distributed operations more transparent, the Oracle database has a synonym object synonym. As
Recently, the AP personnel had a requirement to transfer a table from an obsolete system to a new system for use. exp/IMP was used quickly. He also corrected the problem.ProgramAnd a new version is released on some clients. however, the development
1. First check whether there is a synonym for loop:Select * From dba_synonyms whereTable_owner = 'test' and synonym_name<> Table_name; no record2. query the database objects with no synonym objects:Select * From dba_synonyms whereTable_owner = 'test'
Count Group function: (filter out fields that are empty)Select count (Address), COUNT (*) from B_userMax () Avg () min (), SUM ()Select SUM (age), Max (age), min (age), Avg (NVL (age,0)) from B_user1 260 70) 10 37.1428571428571groupby: If the field
Function: two users, one of which has no data structure. User A can access all data of user B through user A. Only User A has the permission to read data and cannot see user B's data structure. User A can only query data.
1. Create read-only user:
--
1. Create a synonymCreate [public] synonym SynonymFor object;
Example 1: Create a concise name for view dept_sum_vuCreate synonym d_sum for dept_sum_vu;Example 2: create a public synonym for all usersCreate public synonym dept for Scott. Dept;2.
Suppose there are two users:
Website Higher permissions
Websiteapp does not have permission to create a table
Table:
Under the website User:
Grant SELECT, INSERT, UPDATE, delete on table_test to Websiteapp;
Under the Websiteapp User:
--Common
The method of implementing code reuse in functional programming languages is different from object-oriented language, which I have analyzed in the 2nd part. Object-oriented languages tend to have many data structures that can be manipulated in many
In SQL SERVER 2005, a synonym has finally appeared, which makes it much easier to use. Here's a small example to illustrateSynonyms are database objects that are used to achieve the following purposes:Provides alternate names for another database
from: http://www.cnblogs.com/jackyrong/archive/2006/11/15/561287.htmlIn SQL SERVER 2005, a synonym has finally appeared, which makes it much easier to use. Here's a small example to illustrateSynonyms are database objects that are used to achieve
There are many interfaces in the current project, the data source may be different database or different users of the table, to access the table caused a certain amount of trouble. This time you can use synonyms to simplify.
The syntax for synonyms is: CREATE [OR REPLACE] [public] synonym [schema.] Synonym name for [schema.] Object [@dblink];
You also need assignment-related permissions when you create
Guide: SynonymIt is an alias for database solution objects and is often used to simplify object access and improve object access security. When using synonyms,Oracle DatabaseTranslate it into the name of the corresponding solution object. Similar to a view, synonyms do not occupy the actual storage space. Only the definition of synonyms is saved in the data dicti
Oracle 's synonym (synonyms) is literally understood as the meaning of an alias, similar to the function of an attempt, a mapping relationship. This article describes how to create synonym statements, delete synonyms, and view synonym statements. Oracle's synonym Summary: The literal understanding is the meaning of the alias, similar to the function of the attempt. is a mapping relationship. 1. Create a syn
values to be considered equal. However, when all rows are null values, This rule does not apply. Oracle does not index rows for tables where all health values are null, unless it is a bitmap index or when a cluster key field value is null
Creating a synonym Create a synongms
Create [public] synonym Sy_name for object
Create an alias for table_001
Create synonym tb1 for table_001
Remove synonym drop a synonym
Drop synonym Tb1
Oracle synonym creation and its role (excerpt from http://www.jb51.ne
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/database/201109/106257.html)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
Title Requirements:First, synonyms maintain a given interface, set two words to each other synonyms. Synonyms have mutual transitive, if A and B are synonyms, B and C are synonyms, then A, B, C are synonyms. requires an interface
the cache.NoCache: The serial number is not pre-allocated for faster access, and if the cache and Nocache,orcale are ignored when the sequence is created, 20 serial numbers will be cached by default. To access the value of a sequence through a pseudo-column of a sequence Nextval returns the next value of the sequence Currval Returns the current value of the sequence 04.sys_guid function 1 --Create a sequence
2 Createsequence Seq_first3 --querying the next sequence
4 SelectSeq_first.nextval from
You can use multiple methods to back up synonyms. For example, you can directly generate a synonym creation script or use dbms_metadata.get_ddl to extract the definition of synonyms.
You can use multiple methods to back up synonyms. For example, you can directly generate a synonym creation script or use dbms_metadata.get_ddl to extract the definition of
In PHP, how does one perform fuzzy search of keywords? similar to Baidu, the keyword is used to query entries with similar meanings ------ solution ------------------ synonyms and synonyms all require you to teach the program, you need to maintain a table with two fields: one field is used to store the keyword, and the other field is used to store the synonyms an
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.