Rocket® Enterprise Developer (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.
DECLARE DATABASE
データベースの名前を宣言します。
構文:
>>---EXEC SQL---DECLARE db_name---DATABASE---END-EXEC---->
パラメーター:
| db_name | データベースに関連付けられた名前。ホスト変数ではなく、識別子にする必要があります。引用符を含めることはできません。 |
説明:
db_name を宣言してから、CONNECT ...AT db_name 文を使用する必要があります。
EXECUTE IMMEDIATE、または PREPARE および EXECUTE と一緒に、DECLARE DATABASE を使用することはできません。