How To Set HANA ODBC Connection Properties
来源:互联网 发布:免费注册淘宝账号官网 编辑:程序博客网 时间:2024/05/21 19:45
How To Set ODBC Connection Properties
In this example, spatial type support is requested by passing "SPATIALTYPES = 1" as part of the connection string.
The following example shows how to set ODBC connection properties:
SQLHENV henv; SQLHDBC hdbc; SQLRETURN rc; SQLCHAR outString[1024]; SQLSMALLINT outLength; rc = SQLAllocHandle( SQL_HANDLE_ENV, SQL_NULL_HANDLE, &henv ); rc = SQLSetEnvAttr( henv, SQL_ATTR_ODBC_VERSION, (void*)SQL_OV_ODBC3, 0); rc = SQLAllocHandle( SQL_HANDLE_DBC, henv, &hdbc ); rc = SQLDriverConnect( hdbc, henv, (SQLCHAR *)"uid=SYSTEM;pwd=manager;SPATIALTYPES=1", SQL_NTS, outString, sizeof(outString), &outLength, SQL_DRIVER_NOPROMPT);
阅读全文
0 0
- How To Set HANA ODBC Connection Properties
- ODBC Connection Properties
- How-to: set yarn mapreduce memory properties
- SLT HANA connection (Set HANA connection environment)
- Creating Connection To ODBC
- How to set the Collation properties of the database
- How To Use the ODBC .NET Managed Provider in Visual C# .NET and Connection Strings
- How To Set Up a TCP/IP Peer-to-Peer Network Connection
- How to delete PACKAGE from HANA studio
- HANA ODBC error due to mismatch of version
- How to set vim
- Configuring Remote Source connection (SDA) from HANA to MSSQL
- how to set value stack
- How to set up MultiComboBoxColumn?
- How to Detect a Dialup Connection?
- How to detect HTTP connection break
- How to adb connection with Kindle Fire
- How to resolve TNS:Connection closed error?
- C++ template高阶技巧(4)---《C++ Templates》
- 【swift】关于po命令不显示问题 error: <EXPR>:3:1: error: use of unresolved identifier
- ES6 Arrow functions
- css元素隐藏各种方式原理及display:none和visibility:hidden
- 阿里前端笔试题
- How To Set HANA ODBC Connection Properties
- C#自定义RSA加密解密及RSA签名和验证封装类
- Merge into的注意点之ORA-30926: 无法在源表中获得一组稳定的行?
- 【搜狗投稿】【测试工具】Fiddler实践的一些小心得
- web页面中后台enter键登录
- 学习德华的经验
- hive sql按照固定长度分隔字符串
- redis分布式锁的思考
- 位运算