You can't just reference the external server when you create the view; you have to create a linked-server first within SQL management studio- under Server Object, Linked Server-- Create new Linked server. The security settings might be particular to your SQL setup...
Then you just create the view with the servername in it server.database.dbo.table. In my case I had the hyphen problem but assuming you don't, that should work. Brien On Fri, Jan 30, 2009 at 1:37 PM, Nall, Roger <[email protected]>wrote: > ** > > This is something I was going to send an email about this so I guess now is > a good time. I have view forms that look at external db tables where the > db's are on the same server as ARSYSTEM. These external db's are going to be > moving to another server. My question is can I just build new view forms and > just reference the server name in the view form definition or will we need > to do something else. > > > > ARS 7.1 p4 > > ARSDB – SQL2k > > ExternalDB – SQL2008 > > > > Thanks, > > > > Roger A. Nall > Manager, OSSNMS Remedy > T-Mobile, USA > Desk:972-464-3712 NEW > > Cell: 973-652-6723 > FAX: > sf49fanv AIM IM > RogerNall Yahoo IM > ------------------------------ > > *From:* Action Request System discussion list(ARSList) [mailto: > [email protected]] *On Behalf Of *Brien Dieterle > *Sent:* Friday, January 30, 2009 2:14 PM > *To:* [email protected] > *Subject:* linked-server with hypens > > > > ** ARS 7.5 > > SQL2005 > Win2003 > > We had an issue creating a view form that had a server with a hyphen. On > ARS 7.1 we used: > > "Server-name".Database.dbo.Table (note the quotes) > > and it worked fine... > > However, on 7.5 if you try to use that syntax the Interface would not allow > it. So you could use: > > Server-name.Database.dbo.Table > > (without quotes) and you could create the form up until the moment you > actually saved it-- then you'd get the SQL error because the quotes were not > there! > > One way around it in 7.5 is to setup a server alias in SQL configuration > manager, and then created the linked-server to the alias (without a hypen > obviously). > > I created an issue for this but thought I'd toss it out here for comment > and FYI :-) > > Brien > __Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___ > __Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" > html___ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"

