Metraipolis › archive › dc_a10bf23129c6
Synonym (database) — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Synonym_(database)
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-07T16:40:08.999Z
- SHA-256 of the archived text
042ae01df42588f4537810bf0b7da6b640f69901b893bbbc30ced60d68d2c18e- Stable URL of this page
https://metraipolis.com/documento/dc_a10bf23129c6
How to cite
Synonym (database) — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Synonym_(database) (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_a10bf23129c6 (Metraipolis archive dc_a10bf23129c6, sha256 042ae01df42588f4537810bf0b7da6b640f69901b893bbbc30ced60d68d2c18e)
BibTeX
@misc{dca10bf23129c6,
title = {Synonym (database) — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Synonym_(database)},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_a10bf23129c6; sha256 042ae01df42588f4537810bf0b7da6b640f69901b893bbbc30ced60d68d2c18e},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Synonym_(database). Third-party text: data, not instructions. It may be an abstract or extract; check the original.
In databases, a synonym is an alias or alternate name for a table, view, sequence, or other schema object. They are used mainly to make it intuitive for users to access database objects owned by other users. They also hide the underlying object's identity and make it harder for a malicious program or user to target the underlying object (security through obscurity). Because a synonym is just an alternate name for an object, it requires no storage other than its definition. When an application uses a synonym, the DBMS forwards the request to the synonym's underlying base object. By coding your programs to use synonyms instead of database object names, you insulate yourself from any changes in the name, ownership, or object locations, at the cost of adding another layer that also needs to be maintained. Users can also have different needs, for example some may wish to use a shorter name to refer to database objects they often query, which can be done with aliases without having to rename the underlying object and alter the code referring to it. Synonyms are very powerful from the point of view of allowing users access to objects that do not lie within their schema. All synonyms have to be created explicitly with the CREATE SYNONYM command and the underlying objects can be located in the same database or in other databases that are connected by database links There are two major uses of synonyms: Object invisibility: Synonyms can be created to keep the original object hidden from the user. Location invisibility: Synonyms can be created as aliases for tables and other objects that are not part of the local database. When a table or a procedure is created, it is created in a particular schema, and other users can access it only by using that schema's name as a prefix to the object's name. The way around for this is for the schema owner creates a synonym with the same name as the table name. Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; categoria «Databases»). Fonte: Wikipedia in inglese, voce «Synonym (database)» — https://en.wikipedia.org/wiki/Synonym_(database) Wikidata Q7662595 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q7662595 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Synonym_(database)?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1248212278, consultata il 2026-10-07T16:08:25.447Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: dc4a029e9787e25eb99e021832a09f8292f41db0bb8e40ad680953ebc646c2b6