SQL Server:什么是 ODBC 规范函数? [英] SQL Server: What are ODBC canonical functions?

查看:24
本文介绍了SQL Server:什么是 ODBC 规范函数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是 ODBC 规范函数(例如 {fn NOW()})?

What are ODBC canonical functions (like {fn NOW()})?

推荐答案

基本上,这些规范函数是一组函数,Microsoft 承诺这些函数将适用于其提供程序支持的所有类型的数据源.这意味着您不必根据实际使用的数据提供程序来区分代码.

Basically these canonical functions are a set of functions that Microsoft promise will work on all the types of data source that their providers support. This means that you don't have to differentiate your code depending on which data provider you are actually using.

这些函数不是基本 SQL 的一部分,因此您应该尝试寻找可以运行 SQL 或 T-SQL 标准实现的替代方法.

These functions are not a part of basic SQL and therefore you should try to find alternatives that will work standard implementations of SQL or T-SQL.

这篇关于SQL Server:什么是 ODBC 规范函数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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