This question got closed three years after it was asked. It has several answers. I noticed the closing because I got a downvote for my answer.
How to copy a table schema and constraints to a table of different database?
I need an sql which will copy schema of a specified table to a table in different db.
How to implement this?
Please help.
The question is perhaps not well written, but it's plainly on topic. There's a lot of voting and answering activity, and it has an accepted answer. None of the answers show any confusion as to what the question is about.
So why was this question closed as off-topic?