Denny,
So what you are saying is that I could query the table on the linked server from inside a stored procedure, *BUT* that it still would not solve the problem of a structure change on the table that is accessed remotely?
masds - You asked for a defination of my table and the view. Well, it...
OK, that would help a little, but how do I create an alias name when setting up the linked server? I used Enterprise Manager to add the linked servers.
fredscuba
You wrote "If you want something that updates **manually**, you would need to do a select t1.* from table t1 within a stored procedure.
Denny
Did you mean automatically? Because that is what I am looking for. How would doing a select from within a stored procedure help me?
What I want is a...
What do you mean with "You can setup the linked servers with aliases when you create them"?
What form would the alias take and would that shorten the server\instance.database string?
For example can I set up an alias between server1 and server2 and get an alias to shorten the...
Hi,
How do I set up a view in a linked server to update automatically whenever the table that it is pointing to on the linked server changes in structure.
For example, my view to a table on the linked server works fine, until the table that it is pointing to is changed, for example a new...
That sucks!!!
So you are telling me that there is no way to alias a SQL Server instance. We have multiple databases on a physical server, so to distinguish between them, our SQL Server name includes the physical (Windows) server name *and* the SQL Server name.
So for instance we would have...
I have several SQL Server linked servers set up and was wondering whether there is a way to create an alias to substitute for the four-part naming convention?
So instead of having to write:
select *
from [server].database.tableowner.table
for a query on a table that is on the linked server...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.