292 Part I EXAM PREPARATION not on the
Friday, July 17th, 2009292 Part I EXAM PREPARATION not on the list will not be allowed to use the remote server by choosing the Not Be Made option. You can choose that the users not on the list be forced into guest status, if available, on the remote server by choosing the Be Made Without Using a Security Context option. You can choose to attempt to pass through the authentication that the user has on the local server by choosing the Be Made Using the Login s Current Security Context item, or you can force everyone who isn t on the list in the top part of the window to use a specific login and password with the Be Made Using This Security Context option. Now that you know how to create linked servers, it s time to look at using them in a little more detail. Using Linked Servers There are two ways to use an established linked server. The first and easiest to understand method is to use the four-part name as shown in the Step By Step 9.1. As you remember, a three-part name is database.owner.object, so for the sysobjects table in the Master database, you can reference it as master.dbo.sysobjects. For a linked server, you can use a four-part name, which is server. database.owner.object, or, in the example above, sqltest1. master.dbo.sysobjects. The four-part name works great when you re using other SQL Servers as the remotes. What happens when you want to use something other than SQL Server on the other side? Then you need to use the OPENQUERY function. OPENQUERY looks suspiciously similar to OPENROWSET, but it takes only two arguments: the linked server name and a query. So you could run this: SELECT * FROM openrowsettest.master.dbo.sysobjects or you could run this: SELECT * from OPENQUERY(OpenRowsetTest, SELECT * FROM .master.dbo.sysobjects ) Notice that the linked server name does not have quotation marks around it. SQL Server doesn t like quotation marks there. Both these queries return the same resultset. These linked servers are really great, but don t get any ideas about using them to import data. Although it works well for smaller
If you looking for unlimited one inclusive web hosting plan please check cheap web hosting website.