Groups | Blog | Home
all groups > sql server new users > november 2006 >

sql server new users : Linking into SQL Server Express


Rob M
11/20/2006 7:53:02 AM
From my SQL Server database, I would like to add a link to a table in 4D. I
Arnie Rowland
11/20/2006 2:38:45 PM
If you are using SQL 2005, and SSMS, then in Server Explorer, click on
[Server Objects], then right-click on [Linked Servers] and select [New
Linked Server] and fill out the form with the appropriate information.

If you are using SQL 2000, and Enterprise Manager, then for your server,
click on Security and right-click on [New Linked Server].

--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous

You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf


[quoted text, click to view]

Rob M
11/20/2006 3:15:01 PM
Thank you very much. I took a quick look at the form but don't immediately
know how to answer the questions. I'll see if I can figure it out on my own
- if not, maybe you can help me with the details.

[quoted text, click to view]
Rob M
11/21/2006 6:10:02 AM
Well, following your advice, I THINK that I succeeded. I filled out the form
as best I could and a new object with a link icon now shows up under Linked
Servers. But I am not sure that a link really has been established and, in
any case, I don't know how to use SSMS to see the tables in the database.

Thanks again for your help.


[quoted text, click to view]
Arnie Rowland
11/21/2006 8:52:32 AM
To use a table in one database while also retrieving data from another
database, it is necessary to use 'Four Part Names', in the style of
Server.Database.Schema.Table.

You may wish to review the use of 'Linked Servers' in Books Online.

--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous

You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf


[quoted text, click to view]

AddThis Social Bookmark Button