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
Solved

SQL 2012 does not create text file from query

Posted on 2013-06-10
4
219 Views
Last Modified: 2013-06-24
Hi,

I am trying to create a '|' delimited txt file from a once off select query results but the window does not appear where I can specify the destination or the file name although the query is stated as completed successfully.  Please help
0
Comment
Question by:burny1
  • 2
  • 2
4 Comments
 
LVL 10

Expert Comment

by:Matt Bowler
ID: 39236656
Can you confirm that you have 'results to file' set for your query in SQL Server Management Studio?
0
 

Accepted Solution

by:
burny1 earned 0 total points
ID: 39236816
Yes I have done that.  I have also tried different delimitation options but nothing wants to work.  This morning it refused to even show results to grid.  I suspect that I need to reload the program.

I have another computer running a 2008 module and it is currently executing the results to file query without hassles (just slow).
0
 
LVL 10

Expert Comment

by:Matt Bowler
ID: 39236891
It does sound like abnormal behaviour for management studio. Are you able to execute the query normally and confirm that a result set is being returned?
0
 

Author Closing Comment

by:burny1
ID: 39270708
reload sorted the problem
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
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 backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

808 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