Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit fa7c8b9

Browse files
authored
First draft of connection overview with links to tutorials
1 parent f64a22a commit fa7c8b9

1 file changed

Lines changed: 26 additions & 2 deletions

File tree

docs/linux/sql-server-linux-connect-and-query.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description:
66
author: rothja
77
ms.author: jroth
88
manager: jhubbard
9-
ms.date: 10-18-2016
9+
ms.date: 10-20-2016
1010
ms.topic: article
1111
ms.prod: sql-non-specified
1212
ms.service:
@@ -23,6 +23,30 @@ ms.assetid:
2323
# ms.suite: ""
2424
# ms.tgt_pltfrm: ""
2525
# ms.custom: ""
26-
2726
---
2827
# Connect and query SQL Server on Linux
28+
29+
This topic provides an overview of how to connect and run Transact-SQL (TSQL) queries on SQL Server vNext CTP1 running on Linux. In many ways the connection techniques and T-SQL commands do not differ between platforms. But this topic looks at the requirements and tools for Linux and then provides references to other resources.
30+
31+
## Connection requirements
32+
33+
In order to remotely connect to SQL Server on Linux, you must open the port that SQL Server is listening on. The default instance of SQL Server listens on TCP port 1433.
34+
35+
## Connection scenarios
36+
There are several tools that you can use to connect and query SQL Server.
37+
38+
- sqlcmd.exe
39+
- Visual Studio Code
40+
- SQL Server Management Studio (SSMS)
41+
42+
### sqlcmd.exe
43+
Sqlcmd.exe is a command line tool that can be run from any Windows or Linux machine that has the SQL Server tools installed. It has a basic interface but is good for quickly connecting and running T-SQL commands. For a walkthrough of using sqlcmd.exe on Linux, see [Connect and query SQL Server on Linux (SqlCmd)](sql-server-linux-connect-and-query-sqlcmd.md).
44+
45+
### Visual Studio Code
46+
Visual Studio Code is a lightweight, cross-platform development tool for writing code. The MSSQL extension provides the ability to execute TSQL commands. This is especially useful in development scenarios where you need to write both application code and database functionality. For more information, see [Connect and query SQL Server on Linux (VS Code)](sql-server-linux-connect-and-query-vs-code.md).
47+
48+
### SQL Server Management Studio (SSMS)
49+
SQL Server Management Studio is a Windows tool for both querying and managing SQL Server instances. This is best for when you are working with both Windows and Linux machines. You can connect SSMS running on Windows to SQL Server running on Linux. The advantage of SSMS is that it provide a graphical user interface for many server and database management tasks. For more information, see [Connect and query SQL Server on Linux (SSMS)](sql-server-linux-connect-and-query-ssms.md).
50+
51+
## Next Steps
52+
TBD

0 commit comments

Comments
 (0)