Solved

I need help exporting SQL Server data to a tab delimitted file

Posted on 2015-02-24
3
112 Views
Last Modified: 2015-03-29
I experts,
I use a few select queries in SQL Server 2008 R2.  I want to export the query results to a tab delimitted file.  How can I do this?  Thank you very much in advance for your help.

mrotor
0
Comment
Question by:mainrotor
3 Comments
 
LVL 41

Accepted Solution

by:
pcelba earned 200 total points
ID: 40628267
Execute the query in SQL Server Management Studio, then right-click the result grid and select "Save Results As" from the context menu. TAB delimited text is one of the available file formats.
0
 
LVL 15

Assisted Solution

by:deepakChauhan
deepakChauhan earned 200 total points
ID: 40628452
If records count is very high, you can use Import/ Export Wizard. Just right click on database and click on export data.... , next all steps are self-explanatory.
0
 
LVL 45

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 100 total points
ID: 40633423
Yes, I'm also with the Export data option. Instead of choosing a table you need to provide the query that you want.
TaskMenu.PNG
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

706 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now