Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server CE / November 2007

Tip: Looking for answers? Try searching our database.

DB_E_BADTYPENAME with queries with parameters (ADO/C++)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TomiV - 12 Nov 2007 10:09 GMT
Hi all,

I am trying to access a Compact Edition database with C++//ADO. Whenever I
make an SQL query that contains parameters I get the error DB_E_BADTYPENAME
(I do set the size property of the parameter), the same code works with
Access/Jet databases as well as Express Edition databases. Is there some
inherent limitation in the compact edition OLE DB provider that makes ADO
fail these queries? I have gone through the documentation and it does not
mention anything about such a limitation, though it mentions nothing at all
about using ADO. Any help appreciated,

Tomi
TomiV - 12 Nov 2007 10:14 GMT
Sorry I forgot to mention I'm on version 3.1.

Signature

Tomi

"TomiV" <tomiNO_SPAMvarhe@hotmail.com.invalid> kirjoitti
viestissä:OY0$bQRJIHA.5116@TK2MSFTNGP03.phx.gbl...

> Hi all,
>
[quoted text clipped - 8 lines]
>
> Tomi
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.