June 23, 2004 at 11:55 am
I am trying bring EDI document into SQL server tables. I really don't know what the best solution is. I am thinking about DTS. but I don't know if it is doable or not. I appricate all the suggetions.
June 23, 2004 at 1:49 pm
I suspect you'll need to create a table with a text column to hold the data. Are these individual files? DTS is easy, but you'll need to script something to do multiple files.
Here's a start: http://www.sqldts.com/?246
June 24, 2004 at 7:13 am
Another possibility might be (all depends on your specific data) converting the EDI docs to XML and importing it that way.
Just a thought.
June 24, 2004 at 7:22 am
Hi,
We too have a similar requirement of parsing and loading EDI 850 files to SQL Server tables in our project. These EDI 850 files consist of different segments followed by fields.
For this i have written a DTS Active X script in VB Script that parses the entire EDI file Segment by segment picks up the relevant fields and then load them to tables using a Stored Procedure.
Regards,
Amol
SQL Server Developer.
India.
June 24, 2004 at 9:54 am
Hi Amol:
Could you share your Active X script. I have to parse and load EDI 834/7 to SQL. It would be great to learn your experience with 850 files.
RGDS
Sam
June 24, 2004 at 10:08 am
I guess EDI is kind of pain for every IT professional. Big IT workshop can afford programmer just focusing on the EDI program. But small companies can't.
XML may be a good idea for EDI parser. we can creat objects and serialize the object to XML , then use SQL Server XML function to save the information to tables.
But when you are ready to create other EDI document (like invoice 810) from SQL server, you will get another headache.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply