node-sqlserver 是微软官方发布的 SQL Server 的 Node.js 的驱动程序。可允许 Windows 上运行的 Node.js 程序访问 SQL Server 和 Windows Azure SQL 数据库。
使用该驱动需要以下环境和组件支持:
-
Node.js - use the latest version if possible, but it has been tested on node 0.6.10 and later
-
node-gyp - latest version installed globally (npm install -g node-gyp)
-
python 2.7.x - for node-gyp (make sure it is in the path)
-
Visual C++ 2010 - the Express edition is freely available from Microsoft
-
SQL Server Native Client 11.0 - available as Microsoft SQL Server 2012 Native Client found in the SQL Server 2012 Feature Pack