open sql > right click on database (you can say source you want to make a copy ) >then select task > Generate script > click on next next
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)