当前位置:网站首页>OLEDB accessing sqlserver 2019
OLEDB accessing sqlserver 2019
2022-01-15 02:30:21 【CSDN Q & A】
The phenomenon and background of the problem
My previous code , It's using OLEDB Technology access Sqlserver2008 Of . No problem
Problem related code , Do not paste screenshots
however , When I go to visit Sqlserver2019 When , There are a lot of problems . I fix some mistakes that I can fix .
however :
// The second step : Create data source objects , Simultaneous acquisition IDBInitialize Interface
// Creates a with the specified class identifier Com object , Creates an uninitialized object with the specified class identifier
g_hr_return = CoCreateInstance(CLSID_SQLNCLI10, NULL, CLSCTX_INPROC_SERVER, IID_IDBInitialize, (void**)&data_pIDBInitialize);
// Parameters 1:
if (FAILED(g_hr_return))
{
return -1;
}
Operation results and error reporting contents
CLSID_SQLNCLI10 I can't recognize this
My solution ideas and tried methods
I thought Every COM Components have different ID. Sqlservr 2009 and Sqlserve2019 Of COM Components ID atypism . But reality hits the face .
I searched a lot of information , The final conclusion is OELDB It's too old , Eliminate .Sqlderver2019 No support for . tragedy
What I want to achieve
1) See if you can save , Use OLEDB visit Sql2019
perhaps
2) Access... Using other technologies sqlserver2019. It can make the write speed reach... Per second 10 Line ten thousand .( I use OLEDB write in Sqlserver2008,1 Seconds to write 10 Ten thousand line floating point number )
××
Postscript : I can provide my current code . Paid , thank you
版权声明
本文为[CSDN Q & A]所创,转载请带上原文链接,感谢
https://chowdera.com/2021/12/20211207165416966t.html
边栏推荐
- Analyse des données tichoo
- Tiktok data analysis platform
- Partage de l'industrie | tichoo Data to attend 2022 Overseas Short video Industry Summit
- [ticoo Information Station] tiktok and Cross - Border E - commerce Weekly Report
- Options d'analyse des données ticoo {infostation}
- Partage de l'industrie | Lu Shidong, PDG de tichoo Data Outlook Global Video e - commerce future Blueprint
- [ticoo Information Station]
- Noël Black Five
- YC Framework version update: v1.0 zero point two
- Lucene分词器
猜你喜欢
随机推荐
- JVM系列 -- 深入剖析垃圾收集器
- JVM系列--内存回收
- JVM系列--对象内存分配技术分析
- JVM系列--虚拟机的内存管理
- 系统性能瓶颈排查技术总结
- 使用redis的scan指令详解
- 实战--分布式id发号器
- 分布式事务之超详细的Seata实践记录
- TCP time_wait
- IP数据报头部
- 最大基环内向树
- MySQL实战45讲 学习笔记(七)
- MySQL实战45讲 学习笔记(六)
- Android从零开始搭建MVVM架构(1)(1),kotlin匿名函数
- Android事件分发机制五:面试官你坐啊,安卓上机面试题
- There will be two different stages between the breakthrough of science and technology and its real transformation into an inclusive technology
- [leetcode] force deduction 200 Number of islands
- HashShuffleManager
- Spark shuffle concept
- Go controls the metadata of grpc
- Altium Designer
- Android Event Distribution Mechanism 5: interviewer, you sit, Android on the machine Interview Question
- Android construit l'architecture mvvm à partir de zéro (1) (1), fonction anonyme kotlin
- MySQL Real Game 45 talk Learning notes (6)
- MySQL Real Game 45 talk Learning notes (7)
- Module 6 operation of the actual combat camp
- Android事件分發機制五:面試官你坐啊,安卓上機面試題
- Arbre intérieur maximal de l'anneau de base
- En - tête du datagramme IP
- TCP Time Attendez.
- Android内容提供器读取手机中的音乐文件信息,百度、阿里、滴滴、新浪的面试心经总结
- Android修炼系列(十一),kotlin静态方法
- Seata Practice record for Distributed transactions
- RSA basic principle and common attack methods
- Incremental replication of table data between two database servers
- Android修煉系列(十一),kotlin靜態方法
- Android Culture Series (11), kotlin Static Method
- Le fournisseur de contenu Android lit les informations des fichiers musicaux dans le téléphone mobile, baidu, Ali, Didi, Sina interview Summary
- Pratique - Distributed ID commander
- Explication détaillée de l'instruction Scan avec redis