I’m using SQL Server 2005 and I want to export all records from my Employee table to a .sql file. But when I run the export data option, it only generated the script of the structure of the Employee table, it does not contain the records on it.
What i want is to generate a script that will contain an INSERT statement containing the values from the Employee table. (Like in PHP admin).
Is that possible in SQL Server 2005? Please help me how to do it..
Thanks….
This blog solved my problem. I just exported the records into a text file and format it in excel file with its column and imported Excel Spreadsheet Data into SQL Server Database Table Using SqlBulkCopy.