Solved

SQL 2012 does not create text file from query

Posted on 2013-06-10
4
222 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
[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
  • 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
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…

623 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