Solved

MS SQL Server 2000/2005 - Export data to text file (ASCII) in binary format?

Posted on 2007-11-29
7
5,879 Views
Last Modified: 2012-06-27
I thought I read this some where but is it possible to routinely export data from SQL Server into a text file (ASCII) in a binary format? I have the pleasure of creating an interface to deliever data to a mainframe system using COBOL (a middleware service converts the file I'm sending).
0
Comment
Question by:xizwyck
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 15

Expert Comment

by:spprivate
ID: 20373943
You can hae SQL Jobs and DTS package or BulkCopy to do this trick.Is the source file name going to be the same althrough?
0
 
LVL 3

Author Comment

by:xizwyck
ID: 20374441
The source file name would be the same.

When you say BulkCopy, do you mean BCP?
0
 
LVL 15

Expert Comment

by:spprivate
ID: 20374733
yes,just look into a post we answered few days back.
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 15

Expert Comment

by:spprivate
ID: 20374754
0
 
LVL 15

Accepted Solution

by:
spprivate earned 500 total points
ID: 20374809
Oh mY bad
I misread the question.You wanted to exprt data rather than import it to SQL.Hmm
well
You can use SQL Import Export wizard and create the destination as flat file source .Now create this as an SSIS package(DTS in 2000) and schedule it.
0
 
LVL 5

Expert Comment

by:MrNetic
ID: 20374919
You can create a SSIS package that for example will export the data to a txt file, then export the file using ftp tp the mainframe and in the end receive a e-mail report.
You can do this just by developing a SSIS package.

Hope this helps.
0
 
LVL 3

Author Comment

by:xizwyck
ID: 20479510
Sorry, been busy. Thanks everyone!
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question