I have a datatable in memory that I got from a non SQL source.
What is the most elegant way, using ADO.NET to push it “as is into a new SQL (2005) server table?
I have a datatable in memory that I got from a non SQL source.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’d need to do this as a series of steps. Firstly, creating the table via some dynamic SQL. Then you’d need to load the information from memory into the newly created table, potentially using a
BULK INSERT.