Generate script for exiting table in code behind
i have a requirement like if i give the table name i need to generate Script for that existing table i got create statement but i am not getting with constraints please help me how to get create table script with constraints of that existing table ....
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Sivaraman DhamodaranRank #40 · 34.5K reputationPosted Apr 6, 2011, 2:42 AM EDT
Naresh Babu GopavaramRank #9,687 · 203 reputationPosted Apr 6, 2011, 3:05 AM EDT
Suthish NairRank #92 · 22.8K reputationPosted Apr 7, 2011, 9:33 AM EDT