C# – Connecting to SQL Server on Ubuntu20.04 -VS Code No.104
This blog provides instructions on how to connect to and run a select query in SQL Server on Ubuntu 20.04 using .NET Data Provider for SQL Server (SqlClient). ▼1. Connecting to SQL Server on Ubuntu by C# In the past, this blog demonstrated how to connect to SQL Server on Ubuntu and execute a query using Python and Java. However, in this case, C# will be used instead. (As of 2022/12) ▼2. Prerequisites 2-1. Installing Ubuntu 20.04.2 LTS https://releases.ubuntu.com/20.04/ 2-2. Installing Visual Studio Code https://code.visualstudio.com/docs/setup/linux 2-3. Installing C# extension To install the C# extension, press the Ctrl+P keys and type “ext install ms-dotnettools.csharp” in the search box, then press Enter. … Continue reading “C# – Connecting to SQL Server on Ubuntu20.04 -VS Code No.104”