FETCH:使用指定的记录标识符从表中读取列。
FETCH: Fetches columns from a table using a specific record identifier.
因为它存在一些性能方面的问题和其他方面的一些缺点(例如,如果您使用Microsoft SQL Server作为数据库,那么要求必须按照与选择列相同的顺序来读取列的值)。
It has performance issues and other quirks (like requiring you to read column values in the same order you do the select if you're using Microsoft SQL Server for your database).
清单2显示了从一个表中获取列并读取它们的属性的示例代码。
Listing 2 displays sample code to get columns from a table and read their properties.
应用推荐