Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 340
  • Last Modified:

SQL Extract a record to a text file

I need to extract a record from DEV to a text file and then import the record into QA.  I do not have permission to run xp_cmdshell and I do not have permission to link the database to the QA server.

If I copy and past the fields I lose the special characters in them so I need to export and then import.

Any ideas?
0
CipherIS
Asked:
CipherIS
1 Solution
 
knightEknightCommented:
If the table isn't too big, you can simply do

  select * from mytable

in Management Studio, then right-click on the results and choose Save Results As ...
0
 
tigin44Commented:
you can use the sql server import export wizard
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now