The only issue I can think of are character-set issues. If you stick to UTF-8 consistently, you should be fine.
Potential Issues with Deploying to SQL Server 2016 Using sqlcmd from Linux in GitHub Pipeline
We are deploying to SQL Server 2016, where our developers use sqlcmd on Windows machines for development. However, our GitHub pipeline is using a Linux runner with sqlcmd on Linux for deployment. Could this setup cause any compatibility or operational issues during deployment?
2 answers
Sort by: Most helpful
-
-
LiHongMSFT-4306 31,081 Reputation points
2025-03-10T02:27:11.3466667+00:00 Hi @James, Ashwin (BC Pension)
Regarding sqlcmd for Windows (ODBC): The default installation may be an older ODBC-based tool (such as Microsoft Command Line Utilities 15), which has a different parameter support range than the Linux version. For example: The Linux version of sqlcmd (Go) adds a strict encryption mode which may not be supported in older versions of Windows.
Best regards,
Cosmog
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".