Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Open EDI file in SQL Server
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

115 Posts

Posted - 09/27/2012 :  20:17:21  Show Profile  Reply with Quote
Is there a way to open EDI file in SQL Server and insert the data into tables?


Almighty SQL Goddess

38200 Posts

Posted - 09/27/2012 :  22:19:56  Show Profile  Visit tkizer's Homepage  Reply with Quote
What's an EDI file?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server

Subscribe to my blog
Go to Top of Page

Posting Yak Master

115 Posts

Posted - 09/28/2012 :  10:48:40  Show Profile  Reply with Quote
Electronic Data Interchange (EDI) is a file based on certain standards which opened in notepad only shows some numeric or alphanumeric code (encrypted) but when converted to readable format it shows the actual text. There are many different file formats. Has anyone dealt with EDI files importing data into SQL Server?

Go to Top of Page

Flowing Fount of Yak Knowledge

5155 Posts

Posted - 09/28/2012 :  11:06:07  Show Profile  Reply with Quote
I know nothing about EDI format or EDI files, so everything below is general comments about binary files or proprietary format files:

1. If you simply want to store and retrieve the files in SQL Server, you can use Filestream or you can store as varbinary. Jacob Sebastian's article is a good read:

2. If you are trying to insert the data into relational tables, which you said you are, SQL Server provides no tools natively for working with EDI files, to the best of my knowledge. However, if you can find any application/converter that will convert the EDI files into XML or other non-proprietary formats, SQL Server would be able to ingest those.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000