Forum Discussion
Data transferring from SQL server table to text file without using bcp
Hi Sreej320
You got great solutions so far and I would like to add another one to the party.
All the solutions till this point based on something that is installed but if you cannot install anything then there is a simple solution as well (which fit to any common operating system)
Use Azure Data Studio to execute a simple query which return whatever you need and export it directly to a text file. Azure Data Studio is a management studio application which is free and open source! It has version for any common operating system and there is no need to install anything or have any special permission to run it in the client side (obviously you connect the server so you will need the authentication to the SQL Server but this not related to execute the app but to the connection to the server/database. You can have the app files stored in external disk or disk-on-key and execute it directly from there
With all this said and all solutions, my prefer option will be bcp for most cases