What is the use of SYNONYM?

后端 未结 7 653
长情又很酷
长情又很酷 2020-12-04 17:50

What is the use of SYNONYM in SQL Server 2008?

7条回答
  •  孤城傲影
    2020-12-04 18:19

    Seems (from here) to create an alias for another table, so that you can refer to it easily. Like as

    select * from table longname as ln

    but permanent and pervasive.

    Edit: works for user-defined functions, local and remote objects, not only tables.

提交回复
热议问题