Solved

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

Posted on 2015-02-24
3
123 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
[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
3 Comments
 
LVL 42

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:Deepak Chauhan
Deepak Chauhan 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 51

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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

626 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