Groups | Blog | Home
all groups > sql server connect > august 2007 >

sql server connect : Create view "disconnected" (correct group this time)


DWalker
8/3/2007 1:45:05 PM

Oops, I accidentally put this in the wrong newsgroup the first time. I
think this is a better location. Sorry for the double-post.



I occasionally need to create or alter a view that references a linked
server, where the linked server is not currently online (or my Internet
connection is not currently connected, or whatever).

An "Alter View" statement that references a linked server name will fail
with "Could not find server", "Login Failed" or other errors, if the server
is not accessible at the moment.

I sometimes don't care about this problem at the time that I *define* the
view (or stored procedure, or user-defined function); when I *run* the
view, procedure, or function, the linked server will be there, and things
will work.

I can't find how to get around this, which seems like a limitation of the
"Create View" and "Alter View" commands.

Thanks for any suggestions.

Russell Fields
8/4/2007 11:24:48 AM
Well, I replied in microsoft.public.sqlserver.server. - RLF

[quoted text, click to view]

changliw NO[at]SPAM online.microsoft.com
8/6/2007 3:25:24 AM
Hi David,
You can continue the communications under your other post in
microsoft.public.sqlserver.server. You are guaranteed to get Microsoft
assistance in MSDN managed newsgroup.

If you have any other questions or concerns, please feel free to let us
know.

Best regards,
Charles Wang
Microsoft Online Community Support
=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================

AddThis Social Bookmark Button