473,388 Members | 1,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Importing data from Pervasive 2000 to SQL Server 2000

I am working on bringing data into our SQL Server from a btreive
database through Pervasive.

It seems to work, mostly, but I am having problems with dates.

At first, all date conversions from btreive field type Date to SQL
Server SmallDateTime would produce nothing but errors of this sort:
ActiveX Scripting Transform 'DTSTransformation_1' encountered and
invalid data value for 'HomesteadDate' source column.

Looking into the data on the pervasive side, many of the the date
fields had no data in them.

I tried to get around this by changing all lines that brought over
dates from this:
DTSDestination("HomesteadDate") = DTSSource("HomesteadDate")

to this:
IF ISDATE(DTSSource("HomesteadDate")) = 1 THEN
DTSDestination("HomesteadDate") = DTSSource("HomesteadDate") ELSE
DTSDestination("HomesteadDate") = NULL

What I have discovered since then, is that all my dates are simply
failing the ISDATE check and returning null to the SQL Server, even
when it is a valid date.

Any suggestions would be greatly appreciated.

Steve Hoyer
GPW, MI
Jul 20 '05 #1
0 2459

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Bre-x | last post by:
Hi, I am planning to install MySQL on a server (windows advances server 2000) that has already running Pervasive SQL Engine version 2000i I dont think there could be any problems rigth?? i dont...
1
by: Matthias HALDIMANN | last post by:
When importing data into MS SQL Server 2000 from a MyODBC (v3.51) data source using Data Transformation Services, special characters like are not imported correctly. However, when the MyODBC...
5
by: Chuy | last post by:
I am using Maximizer Enterprise 8.0 as my companies CRM solution. Currently we are using the included Pervasive SQL that shipps with the product. Is there someone out that who could tell me if...
5
by: grondaia | last post by:
Here's my situation: I have an ODBC DSN setup for Timberline Data (An accounting package that uses pervasive.sql) on my sql box. I set up a linked server using the supplied timberline odbc...
3
by: Sam Alexander | last post by:
Hi Everone, I'm writing a script to import data from an XML file, and this tutorial is really an awesome guide : http://www.kbalertz.com/Q316005/Import.Server.Component.aspx ... problem though...
11
by: panic attack | last post by:
Hello everbody, Our system is using Sql Server 2000 on Windows XP / Windows 2000 We have a text file needs to be imported into Sql Server 2000 as a table. But we are facing a problem which is,...
0
by: jan82 | last post by:
I receive the following error when trying to connect to a Pervasive database through ODBC: ERROR No available transport protocol for the Pervasive Network Services Layer. ERROR Driver's...
0
by: jan82 | last post by:
I receive the following error when trying to connect to a Pervasive database through ODBC: ERROR No available transport protocol for the Pervasive Network Services Layer. ERROR Driver's...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.