I have a SQL Server 2008 database and I wanted to quickly copy all the data in the database into either separate Excel spreadsheets or into a single spreadsheet in separate tabs. Putting the data into separate CSV files is also ok. How do I do this without having to do a select * from for each of the tables and then copying the data into Excel? There are a lot of tables.
EDIT
Running the wizard to export data I get this error on Pre-execute
-
Pre-execute (Error)
Messages
Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E21.
(SQL Server Import and Export Wizard)Error 0xc0202025: Data Flow Task 1: Cannot create an OLE DB accessor. Verify that the column metadata is valid.
(SQL Server Import and Export Wizard)Error 0xc004701a: Data Flow Task 1: component “Destination – ApprovalStatuses” (25) failed the pre-execute phase and returned error code 0xC0202025.
(SQL Server Import and Export Wizard)
Thanks,
Sachin
Using Server Management Studio:
If you are on a
64-bit serverthen;