清单1展示了这个脚本文件的内容。
Listing 1 illustrates the contents of the required script file.
ij可以用于执行sql脚本文件。
脚本文件还可以创建新的资源和资源集合。
Script files can create new resources and resource collections as well.
脚本文件仅在可用于执行文件中列出的命令时才有用。
A script file is useful only if you can use it to execute the commands listed in the file.
清单3展示了直接从命令行执行脚本文件的第一种方法。
Listing 3 demonstrates the first method for executing a script file directly from a command line.
这正是在本文开始处执行的sql脚本文件中使用的语句。
This is the exact statement used in the SQL script file you executed at the start of this article.
下一节将讨论如何从命令行直接执行Derby脚本文件。
The next section discusses how you can execute a Derby script file directly from a command line.
最常见的选择是s:,它表示函数对于当前脚本文件是本地函数。
The most common choice is s:, which makes the function local to the current script file.
ant脚本支持将在数据绑定ant脚本文件中保存所有的设置。
The Ant script support will save all the Settings in the data binding Ant script file.
这些脚本文件非常适合保存您最喜欢的别名、环境设置和其他首选项。
The per-user files are the appropriate places to keep your favorite aliases, environment settings, and other preferences.
热插拔代理是目录 /etc/hotplug 中的一些脚本文件。
The hotplug agents are script files placed in the directory /etc/hotplug.
如前所述,可以随本文下载的.zip文件包括两个sql脚本文件。
The.zip file that you can download with this article includes two SQL script files, as discussed earlier.
脚本包可以简单到只包含一个脚本文件,也可以复杂到包含一个全新的产品。
Script packages can be as simple as a single script file or as complex as containing an entirely new product.
因此,要想检查是否执行脚本,脚本文件应该包含与清单7相似的简单测试。
Therefore, to verify that the script was executed, your script file should contain a simple test that looks something like that shown in Listing 7.
该功能让您使用一次向导,并且在ant脚本文件中记录下用户选项和数据。
It enables you to go through the wizard once and record the user options and data in an Ant script file.
在运行脚本之前,需要编辑脚本文件头部的以下几行,如清单6所示。
Before running the script, you need to edit following lines in its header, as shown in Listing 6.
可以通过特定脚本文件的名称或特定分析程序模块的类名称来调用这些分析程序。
These analyzers can be invoked with the name of specific script files or the class name of specific analyzer modules.
要执行sql脚本文件中的命令,最简单的方法是从ij工具中运行脚本文件。
The simplest technique to execute the commands in a SQL script file is to run the script file from within the ij tool.
脚本文件可以包含任何所支持的DDL、DML和DCLSQL语句。
The script files may contain any supported DDL, DML, and DCL SQL statements.
此参数会显式指定应备份的概要,从而使脚本文件的任何副本都可以备份所有概要。
This explicitly specifies which profile should be backed up, enabling any copy of the script files to backup any of the profiles.
用户通常使用这个缓存保存主页面、样式表、脚本文件和其他不会经常变化的文件。
You'll generally use this cache for the main Web page, stylesheets, script files, and other files you need that aren't changed very often.
使用HSQLDBScriptTool 实用工具运行SQL脚本文件。
如果您喜欢将命令存储在脚本文件中,使用MY_HOME为您的脚本创建一个目录。
If you prefer to store your commands in script files, create a directory for your scripts using MY_HOME.
新创建的变更管理脚本文件将在编辑器中自动打开,以便于 DBA开始执行更改。
The newly created change management script file is automatically opened in the editor for the DBA to begin the change process.
在AppObject文件夹中创建一个名叫getter的空脚本文件。
Create an Empty Script called getter within the AppObject folder.
在这种模式中,您将发起会话并通过使用- f参数提供一个jython脚本文件。
In this mode, you initiate the session and provides a Jython script file by using the -f argument.
通过将SQL命令放置在脚本文件中,您将获得能够根据需要多次执行命令的附加好处。
By placing SQL commands in a script file, you gain the additional benefit of being able to execute the commands as many times as necessary.
这些行是SQL注释;您应该使用它们来提供脚本文件中每个主要组件的用途的基本描述。
These lines are SQL comments; you should use them to provide a basic description of the purpose of each major component within the script file.
现在,您将只使用create脚本文件;insert脚本文件将在本文的最后使用。
For now, you'll only work with the create script file; the insert script file will be used at the end of this article.
将所有生成的DDL从notepad中复制并粘贴到bankingddl脚本文件中。
From your notepad where you have saved all the generated DDLs, copy and paste into the BankingDDL script file.
应用推荐