Importing Data From Paradox Into SQL

Apr 30, 2007

I have a Paradox file which has 270 thousand records. If I open this db file through a paradox viewer it shows the correct number of rows.

I have an SSIS package which is suppose to read this db file and insert it into the SQL 2005 table. But when I execute this package it goes into a loop, reading the file over and over again. The package fails after inserting some 10 million rows giving the error msg 'Not enough space on temporary disk'.

On examing the data transfered into SQL there are duplicate rows.



I also used the import export wizard (thinking there might be some error in Package code) provided by SQL to transfer the data from .db to SQL but it has the same result(goes in a loop).

I would appreciate any help in this problem. Let me know if you have any other questions.



Thanks

View 1 Replies


ADVERTISEMENT

Issue With Importing Paradox Blob Data

Sep 11, 2006

Hello,

I have SQL Server 2000 and I'm trying to import data from a paradox v5 database. Everything has moved over fine but the data from the blob fields. When I use the import tool and try connect to a paradox blob field, the import wizard does not "see" the paradox blob field. here is and example.

If I have a table with the following fields.
id char(20)
description char(120)
image blob

the ms-sql import wizard sees
id char(20)
description char(20)

I find this very odd, but I do need a solution. Any Ideas?

TY

View 3 Replies View Related

Insert Data By OLE DB Destination For Paradox Table Problem

Aug 23, 2007



Dear all -
iam facing a problem to insert data to paradox table by using OLE DB Destination ,

Briefly i built a simple data flow the has OLE DB Source from paradox Table1 and it linked to OLE DB Destination for another Paradox Table2 (i use query to get the table2 data in OLE DB Destination because it refuse to get data Directly) .

The problem that when i start debugging an error raise as the following:

Error: 0xC0202009 at Data Flow Task 1, OLE DB Destination [554]: An OLE DB error has occurred. Error code: 0x80040E09.

Error: 0xC0047022 at Data Flow Task 1, DTS.Pipeline: The ProcessInput method on component "OLE DB Destination" (554) failed with error code 0xC0202009. The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.

Error: 0xC0047021 at Data Flow Task 1, DTS.Pipeline: Thread "WorkThread0" has exited with error code 0xC0202009.


i hope someone help soon because i need to handle this problem as soon as possible
thanks ,
Maylo

View 1 Replies View Related

The Paradox

Feb 18, 2000

hi all,

The PATINDEX function is not working with the image datatype in SQL Server.
The books online says that you can use PATINDEX with the image datatype.
Unfortunately it seems to be big lie.
How can I get the functionality of PATINDEX worked.

This is how I placed my SQL Query

declare @p binary(16)
select @p =0xFFFFF30A000000008400000001000000
select patindex('%DEFG%',image) from image where textptr(image) = @p

The error I am getting was

Server: Msg 288, Level 16, State 1, Line 4
The PATINDEX function operates on char, nchar, varchar, nvarchar, text, and
ntext data types only.


Why this is not working, according to Books online

Thanks for your time
bye
ranjith

View 1 Replies View Related

Coming From Paradox

Dec 4, 2006

Does anyone know of a good tool that will convert a Paradox 11 Database to SQL 2005 with ease? Looking around and really unable to find anything...

Thanks in advance

View 1 Replies View Related

Import PARADOX Problems

Jul 20, 2005

Hello,I've the following problem. I've to read out the data of a customapplication. I think (I'm not sure) this application is using aParadox DB to store it's information. I don't know it exactly causeI'm not familar with paradox at all, but I've found files like *.db,*.mb, *.px, *.xg*, *.yg* !!!I need the infomation from this files to combine it with other datastored in SQL 2000. I'm tried DTS to import the Data but I've got an"Microsoft JET Database" Error telling me that the table could not befound or that the table has not the asumed format. It depends on which*.db File i try to open. Description: Error calling the OPENROWSETmethod on the provider.My Questions, are there some special drivers i need, not included inMS MDAC Components or must I use a complete Databaseserver in theBackgroud hosting the DB Files. My developer station has the customapplication NOT installed. The db files seems to have no password set.I've got the same error when using MS Access to import the data. Ionly set the path to the dictionary where the files are in but leaveusername and password blank.HOW TO GET THIS DATA OUT ???Thank youTony

View 4 Replies View Related

SSIS OLE DB Jet Paradox Memo

Feb 10, 2006

I am updating a Sql Server 7.0 DB to Sql Server 2005 Standard

I have to update Sql Server tables with Paradox 4.5 (DOS) data,
with DTS in 7.0 this was no problem.

In Visual Studio I use the OLE DB Jet 4.0 driver with the extended property "Paradox 4.x"
The package runs well if there is no Memofield or the Memofield has only a few characters.
If there is an Memofield filled with more than 250 Characters the preview and the data flow faults.
If I use "DBASE IV" on a dBase-table there is no error, but the NTEXT-Field in Sql Server has only one character " "

What can I do to get Paradox-data with Memofields?

Other problem:

I am missing the OLE DB Jet 4.0 Data Source in the Import/Export-wizard in
Sql Server Management Studio.

Dirk Sander



View 1 Replies View Related

Best Way To Read A Paradox File?

Oct 17, 2006

We used to use DTS to read Paradox files. This is something we do regularly. DTS has a native Paradox driver. This seems to have disappeared in SSIS.

Can anyone recommend the best way to read Paradox Files with SSIS?

View 3 Replies View Related

Linked Servers And Paradox 7.

Oct 1, 2007

I'm fairly new to SQL Servers and have Paradox 8 installed. Does anyone know how to setup a linked server in the Microsoft SQL Server 2005 so that the SQL server can access Paradox 7 tables?

View 1 Replies View Related

Paradox To Sql Server 2005

Feb 13, 2007

Hi,
I have been told, I will have to transfer some paradox data into sql server 2005.
What is the best way to do this? i.e. if SSIS can be used, then what will be the source? I ask because there does not seem to be a source for Paradox.
Any thoughts please?
Thanks

View 4 Replies View Related

Access / SQL Server Or Filemaker From Paradox?

Nov 16, 2005

I've been programming in Paradox since DOS, but one mail-order database is getting rather large (100K client records, and associated orders, etc).

Our client wants us to move to Filemaker. In fact he'd like to have a 3rd party write the programme and me maintain it. The current package has been written & maintained by myself, with an awful lot lot going on in the Object PAL code.

I already have a copy (legal) of SQL Server & 10 licences for Access, and think that's a better option to re-develop in (although I could do with some training in both).

What are the pros & cons for each app, and what would people recommend. I'm going to cross-post into Access, Paradox & Filemaker forums to get an equal view.

Thanks

Mark

View 9 Replies View Related

Import Paradox 8 DB Into SQL Server 2000 Using DTS

Dec 28, 2003

Hi,

I'm trying to import a Paradox 8 db into SQL Server 2000 using DTS but the list of data sources in the connections dialog only caters for version 5.x or older. Does anybody know how to get the data source for v8?

If not, is there any other quick and efficient way to import a paradox 8 db as I have to import around 15 of them to do.

Thanks

View 4 Replies View Related

Paradox Conversion - Front End View

Feb 10, 2007

Hello All,

I know nothing.

I am helping a friend, current database Paradox 7.x, custom app as I am sure they all are. I wanted to convert this DB to SQL or Access(MS)I do not have Access, but I have SQL 2000. I used the import/ convert tools within SQL, looked good to me, no errors etc.

I thought life was good. Now try to view, look at the data the way
users could. In the SQL manager, I can see tables, and stored procs, and lotsa cool stuff. I try and install SQL client on a PC to view. It basically extends the Admin tools to the deskop PC. How do I use an SQL conversion to realize the needs of the user interface. I think I need what is called a front end. You can stop laughing now.....

Anyway what direction should I take
to update this antique, no support Paradox DB.

Thanks, Dan T

View 4 Replies View Related

Can SQL Server Work With A Paradox Table?

Feb 18, 2006

I've never really setup or used MS SQL Server (just a couple hours, oneday, several months ago). I think MS SQL Server has the ability to use"linked tables", like MS Access does. Is this correct? What I want todo is have an MS SQL Server setup, which compatible applications cantalk with, but I want the data to come from a Paradox database. I canuse any MS SQL version, whatever would work best. I'm not sure aboutthe Paradox version, I know it is an old DOS version. I can't justconvert the data to another format, because Paradox still needs to useit.I tried using MS Access before, with ODBC drivers it *should* be ableto work with the Paradox data. However, I ended up with lots of datacorruption. I'm hoping MS SQL Server may work better, and not corruptthe Paradox data everytime it is updated.

View 4 Replies View Related

Migrating From Paradox Into Sql Server Using SSIS

Oct 10, 2007



Hi All,

Can anyone suggest me a way to migrate data from paradox tables to sql server tables using SSIS.
Paradox tables are having millions of rows.

Any help on this is greatly appreciated.

Thanks,
SVGP

View 8 Replies View Related

Integration Services :: SSIS - Managing Data Integrity When Importing Sharepoint Data

Sep 28, 2015

I setup this package to import data from a Sharepoint list to a SQL Server data table. The primary key of my SQL table is mapped to the Title column of my Sharepoint list. There is a possibility that duplicate values will be entered in the Title field of the Sharepoint list. So when importing data into my table via SSIS, my package always error-out when there it comes across duplicate values. how you others have managed data integrity when importing from a Sharepoint list with the Title column being mapped to the primary key of a table.

View 4 Replies View Related

Memo Data Type Import Error While Importing Data From Access File Into SQl Server 2005

Sep 10, 2007

I have one column in SQL Server 2005 of data type VARCHAR(4000).

I have imported sql Server 2005 database data into one mdb file.After importing a data into the mdb file, above column
data type converted into the memo type in the Access database.

now when I am trying to import a data from this MS Access File(db1.mdb) into the another SQL Server 2005 database, got the error of Unicode Converting a memo data type conversion in Export/Import data wizard.

Could you please let me know what is the reason?

I know that memo data type does not supported into the SQl Server 2005.

I am with SQL Server 2005 Standard Edition with SP2.

Please help me to understans this issue correctly?

View 4 Replies View Related

Data Access :: Importing Huge Data From One Database To Another Daily

Jul 7, 2015

We have a daily process, which copies millions of rows of data from one DB to another over Linked Server. Just checking on the best practise, are there more efficient ways than the Linked server to copy millions of rows of data from one DB to another? I checked bulk insert but that transfers the data from the file to DB not DB to DB. 

View 6 Replies View Related

Importing Data From Oracle To Sql Loosing Data After The Decimal Point

Jun 18, 2007

I have created a simple package that uses a sql command to pull data from an oracle database and inserts the data into a sql 2005 table. Some of the data fields that i am pulling from contain two digits after the decimal point, however this data is lost when it gets into sql. I have even tried putting the data into a flat file, and still the data is lost.

In the package I have a ole db source connection which is the oracle database and when i do the preview i see all the data I need. I am very confused and tried a number of things to get the data into sql, but none work. Any ideas would be very helpful.

thanks

View 6 Replies View Related

Package Goes Into Loop While Reading Paradox File

Apr 30, 2007



I have an SSIS package which is suppose to read this db file and insert it into the SQL 2005 table. But when I execute this package it goes into a loop, reading the file over and over again. The package fails after inserting some 10 million rows ( actual rows are not more then 270,000) giving the error msg 'Not enough space on temporary disk'.


On examing the data transfered into SQL there are duplicate rows.


I also used the import export wizard (thinking there might be some error in Package code) provided by SQL to transfer the data from .db to SQL but it has the same result(goes in a loop).

I would appreciate any help in this problem. Let me know if you have any other questions.


Thanks

View 3 Replies View Related

Data Format Issue While Importing Data From Excel To SQL

Jul 17, 2007

hi



when i m importing data from excel to Sql using DTS the column which has text content was not imported as same in excel sheet. whereas a special character is appearing in between the lines. the text field contains multiple lines but the conetent is imported in single line .

ex:









ARIZONA
ALABAMA
STATE


but i m getting imported

as :
ARIZONA ALABAMA STATE

How to Format a single column while importing?



Regards

Raj

View 1 Replies View Related

Importing Data From Various Data Sources With Non Standard Formats

Mar 19, 2007

Hi all :)

I'm wondering if SSIS will be the solution to the problem I'm working on.

Some of our customers give us an Excel sheet with data they want to insert or update in the database.

I've created a package that will take an Excel sheet, do some data conversion so the data types match up and after that I use a Slowly Changing Data component to create the insert/update commands.

This works great. If a customer adds a new row to the Excel sheet or updates an existing row changes are nicely reflected in the database.

But now I€™ve got the following problem. The column names and the order of the columns in the Excel sheet are not standard and in the future it could happen a customer doesn't even use an Excel sheet but something totally different.

Can I use SSIS for this? Is it possible to let the user set the mappings trough some sort of user interface? I€™ve looked at programmatically creating the package but I€™ve got to say that€™s quit hard to do€¦ It would be easier to write the whole thing myself than to create the package trough code ;)

If not I thought about transforming the data in code before I pass it on to the SSIS package in something like XML. That way I can use standard column names and data types.

So how should I solve this problem? Use SSIS or not?

Thnx :)

Wouter de Kort

View 6 Replies View Related

Passing Parameter To OLE DB Command To Perform Update On Paradox Table

Aug 23, 2007



Dear All -
iam facing a problem for passing a parameter to update paradox table statment in the OLE DB Command

Briefly an OLE DB Command exist between OLE DB Source and OLE DB destination , all i want it to send the data that flow from the OLE DB Source to the update paradox table statment in OLE DB Command ,

i use the parameter annotation which is "?" to refer to the parameter in the update where clause and it sucess when i use the OLE DB Command to connect to SQL Server DB but when i use it with the Paradox Table an error appear saying that there is more than one data source column with the name "?" The data source column names must be unique.

i dont know what that means is it means that "?" it consider "?" as a column or what or is there another way to send parameter to Update statment for the paradox table differ from the SQL Server Update statment which is the "? "

i hope someone help me as soon as possible because i need it in work sOOon
Thanks,
Maylo

View 2 Replies View Related

How Can I Specify The Data Type When Importing Excel Data Via DTS?

Jun 11, 2006

I'm new to SQL and DTS packages. I am trying to import data from an excel spreadsheet to an SQL server table via DTS package. It seems that the excel task looks at the first few records in a column to determine the datatype for that column. If the first few records are text, the entire column is imported as text. If numeric, the entire column is imported as numeric.
There are about 25,000 records. In one field, the most important one, about half of the records begin with letters and the rest are all numbers. It is the subscriber ID field, and some subscriber IDs are all numbers, some are letters and numbers. The entire column should be imported as text. However, when I run the transform data task from the excel connection, none of the records that are all numbers are imported. I end up correctly importing only 13,000 of the 25,000 records. The rest are imported with the subscriberID field as <NULL>.
I tried using the CAST or CONVERT function in the SQL query, but get the error message "Undefined Function."

Can anyone give me some help? Thanks,
Jim

View 4 Replies View Related

How Can I Specify The Data Type When Importing Txt File Data Via DTS?

Jun 27, 2006

hello,
I create a txt file with a bash script, and i need to use it in a DTS package. But, i don't know how i can specify the type of my column. So in the transformations task, i have an error due to an incompatible type. what can i do to fix this error ?
thanks,

View 8 Replies View Related

Importing Unique Data && MAX Data To Table Using DTS

Nov 28, 2005

I am creating a DTS package that is combining several tables, converting one column of data to a new column removing all special characters, then exporting the unique data based on this column and another column, and the max of other duplicates to a new table.

Now that I have the data in this table, I want to import any data that is not in my main table.

This "CLEANED" table does not have a designated "key" column, but the table I want to import the unique items does have an ID column that is also a primary key column.

DTS seems to want me to have a Key column to reference when importing from the CLEANED table to the MAIN table.

How would I go about checking the MAIN table against the CLEANED table, having DTS import only the unique items from the CLEANED table that are not present in the MAIN table based on three columns? The rest of the columns I want to just extract the MAX data from the duplicates.

Now here is the query I use to extract the unique values from the "CLEANING" table to get the data to the "CLEANED" table, but do not know how to use this to import into the MAIN table using something similar.


Code:



select
partno2,
MAX (partno) as partno,
alt,
MAX (C_alt) as C_alt,
Max (cmpycd) as cmpycd,
MAX (type) as type,
compFN,
MAX (pndesc) as pndesc,
MAX (equipment) as equipment

into tbl_CLEANED
from tbl_CLEANING
group by partno2, alt, compFN
ORDER BY partno, compFN



The three main columns I need to check against are:
partno2
alt
compFN
I have named the columns the same in both tables.

partno2 is the column that has been copied from partno with all special characters & spaces removed. This is the main column I am using as a reference for unique values, then if no match, I have it check against the alt column, then the comFN column. If there are no matches in any of these columns, then I want to extract the data to the MAIN table.

How can I compare these tables and import only unique info to the MAIN table?

In addition, how can I also check items that are the same in both tables and update the MAX info for the other columns (not the three I use for reference - these I need to leave alone) and update those if there is more data in the CLEANED table then in the MAIN table?

View 3 Replies View Related

Importing Data

Feb 12, 2005

I have created a DTS package for SQL Server, saved this as a VB file and upgraded this to the .NET framework.

It is now saved in a file called Shortages.vb.

What I want to do now is add this to an existing ASP.NET project and be able to call this DTS function by the click of a button.

Is this possible and how can I go about it? Can I just add it to the Click event of a button?

View 3 Replies View Related

Importing Data

Mar 17, 2002

Hallo every one,

I', working for a school project.
The setuation is an old database that has to be repaird.

All the data from each table of the old data base are stored in different tabdelimited text files.

I designed a new database, but the tables are a little different.
When I try to import the data I get some errors, because of the changed tables.

An example of my new setuation is a new table thas as colums from 2 different tabdelimited text files.

My question is, how do I solve thos problem!
Do I have to use DTS?
What do I have to do.

tnx
icheron.

View 1 Replies View Related

Importing Data

Jan 12, 2001

How can you can import results into table from system procedures.

For Ex. if you exec sp_spacesued, how do I import the results into the table.

Thank You

View 1 Replies View Related

Importing Data???

Sep 29, 2004

I have a process that calls a proc that BCP's a delimited file into a table. Well the SOX police say a header and footer must be added to the file. Needless to say this screws my BCP process. Does anyone know how to strip a header and footer record from a text file using transact sql or have any other suggestions to strip the records?

View 6 Replies View Related

Importing Data

Dec 4, 2006

I am trying to import data from excel into my server, but get this error message:

Error during transformation 'directcopyXform' for row number 1. Errors encountered so far in this task 1. TransformCopy 'DirectCopyXform' conversion error: Conversion invalid datatypes on coulumn pair 19 (source column '*9' (DBTYPE_WSTR( destination column 'F19' (DBTYPE_R8)

Anyone get me in the right direction?

Scott

View 6 Replies View Related

Importing Data

Apr 24, 2007

we are trying to import data from a flat file using an uptick (`) as a column separator and {CR/LF} as a record terminator. There is a variable number of columns for each record. The initial record in the flat file has 3 columns. Upon processing this record, the import sets all records to 3 columns and does not read the column separators past the second column (even though there may be up to 7 columns in the record).

This method worked ok in DTS2000 and it works with Excel. Any suggestions?



Thank You

View 3 Replies View Related

Importing Data Into SSE

Mar 21, 2007

There's alot of discussion in this Forum concerning the importation of data into SSE.

I recently discovered that you can quite easily export tables directly from MSAccess to SSE.  Simply 1) select the desired MSAccess table, 2) choose 'Export' from the file menu, 3)  in the 'Save as Type' drop down, select ODBC databases(), 4) at this point, an 'Export' dialog with the name of the selected table appears, 5) click 'OK',  6)  the Data Source Manager appears - go to 'Machine Data Source' and select a DSN that connects to SSE (you need to have set this DSN up before), 7)  click 'OK' and  and your table will be exported from MSAccess to SSE.

For whatever reason, the table you exported will always end up in SSEs 'Master' database tables.  There is probably some work-around to correct this, but I havnt spent much time fooling with it.

Now, MSAccess has a very good parser for importing several types of external data, including Excel worksheets, CSV files, and text data.  However, to get a satisfactory into MSAccess, you may need to edit your data files.  Then, to import the data, from MSAccess select 'Get External Data' -> 'Import' from the File menu and just follow the instructions.

BTW, there is alot of confusing discussion concerning the ability of SSE to use DTS.  Some have said that it is not supported, only in the full-blown version.  Others have suggested you can download the DTS application from Microsoft and use it with SSE although it does not show up in the SSEMS directory tree.

I downloaded the file 'SQLServer2005_DTS.msi' and tried to install it.  It appeared to install OK but I cannot find it anywhere on my machine. Weird, eh.

While most of this thread is in the way of a comment, I have a couple of questions:

1 - Is there some way to connect a machine DSN to a database in SSE that is other than 'Master' ?

2 - Are there better ways to import data into SSE ?

3 - Is there some way to move or copy a table from one SSE database to another ?

BTW, please do not respond to this thread by posting some link.  Many of the links I have attempted to follow from this Forum are either irrelevant to the posted problem or are no longer available.   If I wanted that kind of help, I could use Google or go to the library.  Try to answer the question(s) directly.  If you don't know the answer, say so, or at least, don't answer at all.

 

 

View 13 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved