September 10, 2005 at 10:20 am
Hi all,
is concept of synonym like Oracle is supported in SQL Server2000.so that i can map a four part name [server].[database].[owner]. to a smaller name.
any kinda help is most welcome.
Thanks.
September 10, 2005 at 11:02 pm
Create a view? Nah... bad idea...
The 4 part naming convention is only a pain if you don't know how to use table aliases in your FROM clause or you're writing correlated sub-querys all over the place.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 10, 2005 at 11:53 pm
actually i am working on distributed database.
and i want to have location transaparancy at my application level.
September 11, 2005 at 8:39 am
For reads, a "surrogate view" will give you that transparency. The view would just do a SELECT * from the 4 part name. (Just gotta be careful that you're not creating views of views of views... get's kinda slow). For updates of the remote data... I've had much better luck running the update on the remote server where it pulls data from the local server using another surrogate view instead of trying to push the data from the local server.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply