使用嵌入式SQL,数据库编程的复杂性可以通过一些宏子语言来屏蔽。
With Embedded SQL, the intricacies of database programming are masked by a sort of macro sub-language.
在宏内开头定义DATABASE变量告诉它要连接到哪一个数据库。
Define a database variable initially within the macro to tell it which database to connect to.
例如,如果我想打开一个数据库,运行10创建表的查询,我可以创建一个宏来做,只需点击几下。
For example, if I want to open a database and run 10 create Table queries, I can create a macro to do that with just a few clicks.
应用推荐