Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SQL 2012 does not create text file from query

Posted on 2013-06-10
4
Medium Priority
?
225 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
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 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…

876 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