How to Run a Query on a Remote SQL Server?
Answers were Sorted based on User's Feedback
Answer / vinod
By Using linked server we can get data from remote servers, and we can fire a query on remote server. we need to use three part naming conventions for this.
servername.databasename.dbo.tablename
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / guest
Use the OpenRowSet Function to Run a Query on a Remote SQL
Server.
Is This Answer Correct ? | 1 Yes | 4 No |
How to list all user names in a database?
What are cursors and when they are useful?
What is a materialized view?
what is call by value & call by reference ?
What do you mean by an execution plan? Why is it used? How would you view it?
How to write a query with a right outer join in ms sql server?
What command do we use to rename a db, a table and a column?
How to loop through result set objects using mssql_fetch_array()?
Which event (check constraints, foreign key, rule, trigger, primary key check) will be performed last for an integrity check?
What is difference between temp table and cte?
What is the difference between a view and a stored procedure?
Explain different types of locks in sql server.