About 17,400,000 results
Open links in new tab
  1. How to list all tables & columns names of a linked-server

    The system stored procedure sp_tables is used to list out the tables available in the current database of the current server. You can use sp_tables_ex for the linked server. The following returns list of tables available in the specified Server: …

  2. How to retrieve all the tables from an sql linked server

    Sep 9, 2020 · If you have a linked server, then you can just access the tables using a four-part naming convention: ...table. This is explained in the documentation. You can see the linked servers using metadata tables and views. For instance:

  3. SQL Server - get a list of linked servers - Stack Overflow

    May 5, 2022 · How to find databases having a certain table on a linked server (SQL Server 2012)?

  4. Return a List of Tables from a Linked Server in SQL Server (T-SQL

    Oct 7, 2019 · In SQL Server you can use the sp_tables_ex system stored procedure to return table information about the tables from a specified linked server. The simplest way to execute this stored procedure is to pass the name of the linked server.

  5. Listing all Tables of a Linked SQL Server Database

    Oct 30, 2014 · What about however if you want to have a quick view of all the available tables in the linked server’s database while writing your T-SQL script? The answer is easy! You can do this by using the Information Schema Views. Below you will find a stored procedure that I created which can help you to list all the tables of linked server’s database.

  6. SQL Server: How to List the Full Properties of all Linked Servers

    Oct 26, 2011 · One can use the SSMS UI to view properties or view facets, or one can even read through the scripted linked server. The easiest method to view the details for one or all linked servers is the query the SQL Server system tables.

  7. Linked Servers (Database Engine) - SQL Server | Microsoft Learn

    Oct 8, 2024 · View information about the linked servers defined in a specific instance of SQL Server by running a query against the sys.servers system catalog view. Delete a linked server definition by running sp_dropserver .

  8. 4 Ways to List All Views in a SQL Server Database

    Jan 23, 2020 · This article presents four ways to return a list of user-defined views in a SQL Server database. If you want to see only system views, or both user-defined and system views, see Difference Between sys.views, sys.system_views, & sys.all_views in SQL Server.

  9. Understanding SQL Server Linked Servers - MSSQLTips.com

    Apr 7, 2022 · To read data from a Linked Server, SQL Server requires a 4-part identifier reference for any table or view. It must consist of the Linked Server name, database name, schema name, and object name – in that order.

  10. Create View using Linked Server db in SQL Server

    Sep 20, 2015 · You need to use the four part qualified name: linkedserver.database.schema.table. Here is an MSDN article about accessing object names. You might want to try manually creating the view, rather than using the SQL Management tools: SELECT * FROM [1.2.3.4].Atia.dbo.IpPbxDCR.

Refresh