Re: Create view "disconnected" (correct group this time)
- From: "Russell Fields" <russellfields@xxxxxxxxxx>
- Date: Sat, 4 Aug 2007 11:24:48 -0400
Well, I replied in microsoft.public.sqlserver.server. - RLF
"DWalker" <none@xxxxxxxx> wrote in message
news:eRW7s8g1HHA.4584@xxxxxxxxxxxxxxxxxxxxxxx
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.
David Walker
.
- References:
- Create view "disconnected" (correct group this time)
- From: DWalker
- Create view "disconnected" (correct group this time)
- Prev by Date: Re: AAArgh! sp_addlinkedserver giving me fits
- Next by Date: RE: Linked server strangeness in SQL 2005 Mgmt Studio
- Previous by thread: Create view "disconnected" (correct group this time)
- Next by thread: RE: Create view "disconnected" (correct group this time)
- Index(es):
Relevant Pages
|