nodejs中edje-sql 读取MSSQL数据-笔记
来源:互联网 发布:网络视听通则 编辑:程序博客网 时间:2024/05/19 19:12
nodejs代码:
var edge = require('edge');var sqlPath = "Data Source=192.168.15.71;Initial Catalog=Finance;Persist Security Info=True;User ID=sa;Password=sa123.abc;Connect Timeout=180;Pooling=False";var getInsuranceChannelType = edge.func('sql', { source: function () {/* select top 2 * from [InsuranceChannelType] */}, connectionString: sqlPath});getInsuranceChannelType(null, function (error, result) { if (error) throw error; console.log(result); //console.log(result[0].ProductName); //console.log(result[1].ReorderLevel);});
运行结果:
0 0
- nodejs中edje-sql 读取MSSQL数据-笔记
- nodejs中edje 调用c#dll-笔记
- MSSQL 读取本地文件数据
- MSSQL 读取本地文件数据
- mssql 不能读取数据
- sql中读取垃圾数据
- sql 读取excle 中数据
- nodejs操作MSSQL两种方式--笔记
- php mssql mssql + sql server 读取test被截取
- [NPWP笔记]从管道中读取数据
- NodeJS研究笔记:利用Buffer类的二进制数据读取接口解析ELF文件格式
- 获取MSSQL数据字典的SQL语句
- MSSQL 用SQL语句操作数据
- 将MSSQL表数据转成SQL语句
- nodejs如何动态读取文件夹下图片,并放入json数据中并显示
- 史无前例之---NodeJs 中读取OracleDB 数据,将data 生成 Excel文件
- MSSQL中如何用SQL清除所有表的数据(downmoon)?
- MSSQL中如何用SQL清除所有表的数据(downmoon)
- 3324 顺序表应用1:多余元素删除之移位算法
- AndroidDeveloper Weekly No.3
- [iuud8]STL之list
- UVa OJ 1601 - The Morning after Halloween
- hive 和 mysql 的安装 metastor 配置
- nodejs中edje-sql 读取MSSQL数据-笔记
- 小项目口袋新闻主界面实现之MainActivity
- ExtJs:在前台判断Combobox的store 是否为空
- JNDI学习总结(二)——Tomcat下使用C3P0配置JNDI数据源
- 【37】数字在排序数组中出现的次数
- C++map容器用法
- int型与string相互转换
- 冒泡算法
- Linux下安装Jdk,Tomcat,mysql,以及发布项目