What is the best way to create an Empty DataTable object with the schema of a sql server table?
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.
A statement I think is worth mentioning is SET FMTONLY:
The reason this can be handy is because you can supply any query/stored procedure and return just the metadata of the resultset.