Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
データベースを別の場所で再作成できるように、データベースを SQL スクリプトに変換したいと考えています。コピーをオリジナルと同じにしたい。
それ、どうやったら出来るの ?
利用可能なオプションを使用して、Management Studio を使用して DB スクリプトを生成できます。
Right Click on Database -> Task -> Generate Scripts
これは、スクリプトにスキーマを含むデータを含めるためのオプションです
SQL Management Studio でデータベースを右クリックし、[タスク] -> [スクリプトの生成] を選択します。ウィザードが案内してくれます。