Solved

SQL 2012 does not create text file from query

Posted on 2013-06-10
4
217 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 9

Expert Comment

by:MattSQL
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 9

Expert Comment

by:MattSQL
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

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.

Question has a verified solution.

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

I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

930 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

13 Experts available now in Live!

Get 1:1 Help Now