相比于把“列”映射成程序代码或映射文件中的实体变量,ActiveRecord是在运行中基于你的数据库schema动态生成映射的。
Rather than mapping columns to instance variables in application code or a mapping file, ActiveRecord generates them dynamically at runtime based on your database's information schema.
数组完成时,程序就从这个数组生成所需的字符串变量,并输出为HTK和julius格式。
When the array is complete, it then generates the string variables required from that array and outputs to the HTK and Julius formats.
要从过程生成用户错误,可以使用SQLERROR变量检索一个实际的错误字符串,该错误字符串使语句无法作用于调用应用程序,如清单16所示。
To generate user errors from procedures, you can use the SQLERROR variable to return an actual error string that caused the statement to fail to the calling application, as shown in Listing 16.
应用推荐