SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

rama108
Posting Yak Master

109 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?

Thanks.

tkizer
Almighty SQL Goddess

USA
36983 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
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

rama108
Posting Yak Master

109 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?

Thanks
Go to Top of Page

sunitabeck
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: http://www.simple-talk.com/sql/learn-sql-server/an-introduction-to-sql-server-filestream/

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  
 New 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.06 seconds. Powered By: Snitz Forums 2000