Advertisement

09.01.2005 at 08:09AM PDT, ID: 21547778
[x]
Attachment Details

Error converting data type DBTYPE_DBDATE to datetime. Sql SErver linked with Pervasive V8.6

Asked by PremkumarBalwani in Btrieve 4GL Database

Tags: converting, data, dbtype_dbdate, type, error


I have sql server linked with Pervasive V8.6 and when i run query in query analyzer it gives me this error.

Error converting data type DBTYPE_DBDATE to datetime.

select field one, Cast(field two as varchar(50)) from Openquery(sql,'select field one,field two from pervasiveTable') as PTable

i have even tried Convert within the Openquery but it still gives me that error.Start Free Trial
[+][-]09.01.2005 at 10:01AM PDT, ID: 14803944

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.01.2005 at 04:21PM PDT, ID: 14806618

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.01.2005 at 04:24PM PDT, ID: 14806624

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.01.2005 at 04:28PM PDT, ID: 14806644

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Btrieve 4GL Database
Tags: converting, data, dbtype_dbdate, type, error
Sign Up Now!
Solution Provided By: mirtheil
Participating Experts: 1
Solution Grade: A
 
 
[+][-]09.01.2005 at 04:46PM PDT, ID: 14806695

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32