下面第一个简单的脚本将打开一个数据库连接,并向浏览器发送消息确认该连接。
The first simple script here will open a database connection and confirm that with a message to the browser.
例如,如果我想打开一个数据库,运行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.
比如,程序可以利用NOS打开一个数据库,计算数据库中的文档数目,然后关闭数据库,不管数据库是否在本地。
For example, a program that USES NOS to open a database, count the number of notes in it, and then close it, works whether the database is local or remote.
应用推荐