如何在Visual Studio的C程序中编译嵌入式SQL。 [英] How to compile Embedded SQL in C program in visual studio.

查看:216
本文介绍了如何在Visual Studio的C程序中编译嵌入式SQL。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何预编译.sqc文件以将其转换为.c文件。我正在使用sql server作为数据库。



提前谢谢。

How to PreCompile a ".sqc" file to convert it to a ".c" file. I'm using sql server as database.

Thanks in advance.

推荐答案

你有可能运气不好:为C编写嵌入式SQL [ ^ ]



警告虽然Microsoft SQL Server 2000仍支持ESQL / C API,但SQL Server的未来版本不会包含对应用程序进行编程工作所需的文件使用此API。在下一版本的SQL Server中仍将支持使用ESQL / C编写的现有应用程序的连接,但在将来的版本中也将删除此支持。编写新应用程序时,请避免使用ESQL / C.修改现有应用程序时,强烈建议您删除ESQL / C上的依赖项。您可以使用MicrosoftActiveX®数据对象(ADO),OLE DB或ODBC来访问SQL Server中的数据,而不是ESQL / C.



最好的问候

Espen Harlinn
It's possible that you are out of luck: Programming Embedded SQL for C[^]

Warning While the ESQL/C API is still supported in Microsoft SQL Server 2000, no future versions of SQL Server will include the files needed to do programming work on applications that use this API. Connections from existing applications written using ESQL/C will still be supported in the next version of SQL Server, but this support will also be dropped in a future release. When writing new applications, avoid using ESQL/C. When modifying existing applications, you are strongly encouraged to remove dependencies on ESQL/C. Instead of ESQL/C, you can use Microsoft ActiveX® Data Objects (ADO), OLE DB, or ODBC to access data in SQL Server.

Best regards
Espen Harlinn


这篇关于如何在Visual Studio的C程序中编译嵌入式SQL。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆