Rails使用主键列id来完成各种记录保持和引用任务。
Rails USES the primary key column id for various recordkeeping and referencing tasks.
有关数据库如何使用主键约束的详细信息,请查阅数据库文档。
Consult your database documentation for details about how your database works with primary key constraints.
在关系数据库中通常可以使用主键,它由一个自动递增特性或序列生成器生成。
It is common for relational databases to use the concept of primary keys, generated by an auto-increment feature or by a sequence generator.
ActiveRecord会为不同的任务变量使用主键和副键,它们都是作为数据库的约束而定义的。
ActiveRecord USES primary and foreign keys for a variety of tasks, and both are defined as constraints on your database.
如果您在customer表中使用主键100创建一个行,对应的消息将与如下所示类似:“MessagefromDB 2:arowwithprimarykey 100iscreated ”。
If you create a row with primary key 100 in a customer table, the message will look like "message from DB2: a row with primary key 100 is created".
第二种形式是系统标识符,用于记录其他存储产品的应用程序中使用的主键。
The second form is system identifiers for recording the primary key used in other applications that store the product.
您将使用动态关系来基于主键对数据进行关联。
You use a dynamic relationship to correlate data based on primary keys.
例如,我们无法针对分区的列使用标识列或者时间戳,而分区列需要是主键的组成部分。
For example, one cannot use identity columns or timestamps for the partitioning column, but the partitioning column has to be part of the primary key.
但更为重要的是,您对URI使用其他内容而不是主键来查看它们。
But more important, you can now use something other than the primary key in the URI to view them.
它综合使用了控制器名称、闭包名称以及数据库记录的主键以确保uri的惟一性。
It USES a combination of the controller name, the closure name, and the database record's primary key to make each URI unique.
使用的主键是随机18位整数。
如果没有主键,就会使用非长型字段的首列。
If there is no primary key, the first column that is not a long field is used.
在图3中,您要使用ChangeColumn对话框窗口来编辑已存在表格的主键值。
In Figure 3, you were modifying the primary key of an existing table using the Change Column dialog window.
sql _ query必须包括后续查找需要使用的主键,并且它必须包括需要索引和用作组的所有字段。
The sql_query must include the primary key you want to use for subsequent lookups, and it must include all the fields you want to index and use as groups.
例如,如果所有类型的账户都被指定一个AccountNumber,那么可能需要使用Account Type和Account Number一起作为Accounts实体的主键。
For example, if account Numbers are assigned across all types of accounts, account type may need to be used along with account Number to form the primary key of the accounts entity.
使用DB 2IdentityValueGeneration功能来创建独特主键值的表格。
Tables that use the DB2 Identity value Generation capability to create unique primary keys values.
第41 - 54行说明了如何通过使用包含在WASv5WSAExtensions . jar库中的EPRHelper实用类来从epr创建主键。
Lines 41-54 shows how the primary key is created from an EPR by making use of the EPRHelper utility class, included in the WASv5WSAExtensions.jar library.
由于这不是User的主键,所以不能像往常那样使用User . get (params . id)。
Because this isn't the primary key of the User, you can't use User.get (params.id) as you normally would.
最后使用field字段(该表的主键)更新employee表中的雇员名称。
Then it updates the employee name in the employee table using the identifier field, which is the primary key for this table.
想要它成为表的主键,使用 @Id注释来声明。
You want this to be the primary key for your table, so use the @Id annotation to declare this.
通常最好是让SQLObject来管理表的id字段,即使是您不使用SQLObject时碰巧用另一个字段作为主键。
It's usually best to let SQLObject manage the id field of your table, even if you happen to have another field you'd make the primary key if you weren't using SQLObject.
使用该表来分析一个用例,角色与用例根据主键值来进行定型:简单的,平均的,或者复杂的。
To analyze a use case by using this table, the actors and use cases are stereotyped with keys: simple, average, or complex.
现在已经开始支持自动生成主键和未知的主键字段处理,而且越来越多的人开始使用它。
Primary key generation and unknown primary key field handling is now becoming supported, and more people are beginning to use it.
幸运的是,随着对使用的主键和外键策略的基本理解,可以找到您所需的全部内容。
Fortunately, with a basic understanding of the primary key and foreign key strategy employed, you can find anything you want.
简单地运行两次会产生错误,因为相同的星星名称(作为表的主键)使用了两次,则会由于重复的主键值导致错误。
Simply running it twice will produce an error, because the same star names (which are the primary key for the table) are used again, causing an error with duplicate primary key values.
如果还没有,那么需要采用某种方式使用一个数据库表(一个主键,通常是一个整数)、一个用户名(也是惟一的)、一个电子邮件地址和密码等标识每个用户。
If you don't, you need to have some way of uniquely identifying each user in a database table (a primary key, usually an integer), a username (also unique), an E-mail address, a password, etc.
如果表的主键或惟一性约束中指定了这个列,那么不允许使用这个子句(SQLSTATE 42831)。
This clause is not allowed if the column is specified in the primary key, or in a unique constraint of the table (SQLSTATE 42831).
在这里使用匹配关键词是因为不是所有列都与UM L属性相关;正如前文介绍过的,添加主键和外键是为了同时映射uml关联。
The match keyword is used here because not every column relates to a UML attribute; as presented earlier, primary and foreign keys are added in order to map UML associations as well.
可以使用动态关系来关联一组相关业务对象的主键,而使用静态关系来关联非主键属性。
You can use dynamic relationships to correlate primary keys from a set of related business objects and static relationships to correlate non-primary key properties.
然而,DB 2复制要求使用一个主键或惟一索引来区分一个表中的记录。
However, DB2 replication requires a key or index to uniquely identify rows in a table.
应用推荐