Question

i recently used a MS excel database and imported it into an database but i want to get all the insert statements that the import made.

Is it possible? All i can see is the executed database in my object explorer but i want all the insert statements of the imported data??

OK let me try explain again :) i have thousands of rows of data in an excel spreadsheet, how do i convert the rows of data to a database. I'm asking like this now because i think i just messed up on the previous try:(

Was it helpful?

Solution

Export the table in sql format
The Format of Output of .sql file is In the form

Create Table Statements
Insert each entry statement


So Open that .sql file and copy all INSERT statement

Hope this was your requirement

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top