0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

EAを使用して、SQLを生成する

Posted at

皆さんこんにちは
今回は、EAを用いてSQLを生成する方法について説明してきます。

#EAについて
EAとは、Enterprise Architectの略で、業務システム・webアプリケーション・組み込みなど様々な設計開発に対して、様々な対象の人が設計開発全体を通して利用できる設計ツールです。

##SQLの生成方法について
①コードタブ > 「DDLの生成」をクリック
image.png
②「生成タブ」で、出力するテーブルを選択する。
image.png
③出力順序を変更する
FKが設定されている場合は、FKに設定したテーブルが先の順序になるようにする。

④オプションタブで「別名の利用」をTureにする。
image.png
⑤生成タブで「単一のファイル」を選択し、出力先を設定して、「生成」をクリックする。
image.png

以上がSQLの生成方法になります。
良かったら参考にしてみてください。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?