Hi,
Is there any way to set up an alias for a database within an SQL script?
What I'm trying to acheive is... instead of having -
<DatabaseName>. dbo.table, <DatabaseName2> .dbo.table, etc. - throughout the
script, I just set up an alias at the top of the script and reference them.
TIA
Ben
Is there any way to set up an alias for a database within an SQL script?
What I'm trying to acheive is... instead of having -
<DatabaseName>. dbo.table, <DatabaseName2> .dbo.table, etc. - throughout the
script, I just set up an alias at the top of the script and reference them.
TIA
Ben
Comment