1 Star 1 Fork 2

金泉 / freetds-samples

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 514 Bytes
一键复制 编辑 原始数据 按行查看 历史
金泉 提交于 2020-01-01 01:00 . update README.md.

freetds-samples

Description

freetds: mssql(Microsoft SQL Server) C语言Linux客户端连接库

freetds-samples: freetds在CentOS7.5下的简要例程

测试流程

1、yum install -y freetds freetds-devel

$ sudo yum install -y glib2-devel

Linux中的程序访问Microsoft SQL Server,使用freetds库
/usr/lib64/libsybdb.so.5.1.0
/usr/include/sybdb.h
/usr/include/syberror.h
/usr/include/sybfront.h

2、gcc sample*.c -L/usr/lib64 -lsybdb -o sample*

3、./sample*

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/jinquan711/freetds-samples.git
git@gitee.com:jinquan711/freetds-samples.git
jinquan711
freetds-samples
freetds-samples
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891