SQL Reference Guide
>
SQL Reference Guide
>
SQL Statements
>
CREATE SYNONYM
>
CREATE SYNONYM Examples
Was this helpful?
CREATE SYNONYM Examples
1.
Create a synonym for the authors table.
CREATE SYNONYM writers FOR authors;
2.
Create a synonym for the composers table, owned by another user.
CREATE SYNONYM cmp FOR tony.composers;
Last modified date: 11/09/2022
This site works best with JavaScript enabled