954,498 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

*.dat conversion to *.tax file pls help

i have a *.dat file which is i am sending as attachment can any body help to convert this file in to text file or any other database format such as access /oracle etc

Attachments NCBR091005.zip (447.75KB)
jto
Junior Poster in Training
51 posts since Oct 2005
Reputation Points: 13
Solved Threads: 0
 

I don't get it...

:sad:

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

If you want it ported to MS-Access or Oracle you will have to use their database engine to import the file into the database tables. Each database has its own unique file formats so the safest way to do it is to use the appropriate database engine. And some cost thousands of $$$$$$$. Some are relatively cheap or even free (like MySql)

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

can u sugegst me the coding in "C/C++" to read this file which will save file in text format or any other format ., then we will able to convert in required database.

thank u

jto
Junior Poster in Training
51 posts since Oct 2005
Reputation Points: 13
Solved Threads: 0
 

can u sugegst me the coding in "C/C++" to read this file which will save file in text format or any other format ., then we will able to convert in required database.

thank u

Well, you could use ODBC to read the tables using normal SQL statements. There are ODBC c++ classes on the net, just google for them. You can have two databases open at the same time each with its own connection. Get a resultset from one db then use sql statements to insert the rows into the second db. That should be pretty straight forward, and you don't have to know a thing about how the files are maintained. Buy yourself an SQL book if you don't know the langage -- its too complex to explain here.

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You