Q+E Err Msg: Command Has Been AbortedLast reviewed: November 2, 1994Article ID: Q66670 |
SUMMARYIf you attempt to add or modify data in a field in a SQL Server table that has had rules applied to it, the "Command Has Been Aborted" error message may be generated if the data entered does not meet the requirements of the rules.
MORE INFORMATIONSQL Server allows rules to be defined for fields in a table. A rule sets up criteria that the data entered in that field must satisfy. Q+E does not support creating rules and preexisting rules cannot be viewed from Q+E. However, Q+E will verify that the data you enter matches preexisting rules. The following is an example of a rule that applies from a SQL Server front end that supports adding rules: CREATE rule pub_idrule as @pub_id like "99[0-9][0-9]"This example places the restriction on the field pub_id that values entered must start with "99" and contain four digits. "9954", "9900", and "9999" (without the quotation marks) would be valid entries. Entering "8056" in the field pub_id from Q+E would cause the "Command Has Been Aborted" error.
|
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |