Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

Commit

Permalink
Update error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveBirdsall committed Sep 15, 2016
1 parent 36446ce commit a4a538e
Show file tree
Hide file tree
Showing 4 changed files with 487 additions and 211 deletions.
4 changes: 3 additions & 1 deletion docs/messages_guide/src/asciidoc/_chapters/about.adoc
Expand Up @@ -36,7 +36,9 @@ programmers who use the {project-name} database software conversational or
programmatic interface.
== New and Changed Information
This is a new manual.
Messages for UPDATE STATISTICS have been corrected. Also messages for
the new incremental UPDATE STATISTICS features have been added.
== Notation Conventions
This list summarizes the notation conventions for syntax presentation in this manual.
Expand Down
211 changes: 1 addition & 210 deletions docs/messages_guide/src/asciidoc/_chapters/sort_msgs.adoc
Expand Up @@ -24,217 +24,8 @@
////
[[sort-messages]]
= Sort Messages (9200 through 10049)
= Sort Messages (10000 through 10049)
[[SQL-9200]]
== SQL 9200
```
UPDATE STATISTICS encountered an error from statement <name>.
```
*Cause:* UPDATE STATISTICS encountered an error from the {project-name} statement <name>.

*Effect:* The operation fails.

*Recovery:* Other error messages will appear with this one, depending on
what statement caused the error. Use them to diagnose and correct the
problem.

[[SQL-9201]]
== SQL 9201

```
Unable to DROP object <name>.
```

*Cause:* UPDATE STATISTICS encountered an error during a DROP of the
object <name>.

*Effect:* {project-name} is unable to continue processing.

*Recovery:* Resubmit the statement. If this does not correct the problem, stop and restart {project-name}.
If this does not correct the problem,
contact {project-support}.

<<<
[[SQL-9202]]
== SQL 9202

```
UPDATE STATISTICS has located previously generated histograms that are not being regenerated. This may affect the plans that will be generated. Missing column lists are <column-list>.
```

*Cause:* UPDATE STATISTICS has located previously generated histograms that are not being regenerated.

*Effect:* Processing continues without interruption.

*Recovery:* Remove or replace previously generated histograms by
performing either one of these two recovery actions:

* Re-execute the same UPDATE STATISTICS command, but also include the
<column-list> from the message.
* Perform UPDATE STATISTICS FOR the table. Then re-execute UPDATE
STATISTICS with the column lists in which you are interested.

[[SQL-9203]]
== SQL 9203

```
Column names must be unique when specified in column list: (<name>).
```

*Cause:* You specified a non unique column name in the specified column list.

*Effect:* {project-name} is unable to continue processing.

*Recovery:* Correct the syntax and resubmit.

<<<
[[SQL-9204]]
== SQL 9204

```
Invalid option <option> specified. Value must be <range>.
```

*Cause:* You specified an invalid option for UPDATE STATISTICS. The
value <range> specifies the valid range for this option.

*Effect:* {project-name} is unable to continue
processing.

*Recovery:* Correct the syntax and resubmit.

[[SQL-9205]]
== SQL 9205

```
UPDATE STATISTICS is not supported for object <name>.
```

*Cause:* You attempted to run UPDATE STATISTICS against an object that is not supported.

*Effect:* {project-name} is unable to continue processing.

*Recovery:* Correct the syntax and resubmit.

<<<
[[SQL-9206]]
== SQL 9206

```
You are not authorized to read/write object <name>. Verify that you have the necessary access privileges.
```

*Cause:* {project-name} could not perform an UPDATE
STATISTICS statement because you are not authorized to perform this
operation against this table. You must either own the object <name> or
be the super ID.

*Effect:* {project-name} is unable to continue processing.

*Recovery:* Resubmit after checking the table location and access privileges.

[[SQL-9207]]
== SQL 9207

```
The specified SAMPLE option generated an empty sample set. Modify the SAMPLE option and resubmit.
```

*Cause:* The SAMPLE option you specified generated an empty sample set.

*Effect:* {project-name} is unable to continue processing.

*Recovery:* Modify the SAMPLE option and resubmit.

<<<
[[SQL-9208]]
== SQL 9208

```
Column definitions could not be accessed.
```

*Cause:* An UPDATE STATISTICS statement was unable to access column definitions.

*Effect:* The operation fails.

*Recovery:* Resubmit the statement. If this does not correct the
problem, stop and restart the {project-name} database software. If this does
not correct the problem, report the entire message to {project-support}.

[[SQL-9209]]
== SQL 9209

```
Column <name> does not exist in object <name>.
```

*Cause:* You tried to access column <name>, which does not exist in object <name>.

*Effect:* The operation fails.

*Recovery:* Check the column <name> and resubmit.

<<<
[[SQL-9210]]
== SQL 9210

```
One of the column data types is not supported by UPDATE STATISTICS. You must exclude this column from the column list in UPDATE STATISTICS.
```

*Cause:* You attempted to perform UPDATE STATISTICS on a column whose data type does not support this operation.

*Effect:* The operation fails.

*Recovery:* Exclude this column from the column list and resubmit.

[[SQL-9212]]
== SQL 9212

```
Cardinality statistics will be more accurate if you use the SET ROWCOUNT option in the SAMPLE clause.
```

*Cause:* The SET ROWCOUNT option was not used in the SAMPLE clause.

*Effect:* Processing continues without interruption.

*Recovery:* Provide SET ROWCOUNT option and resubmit for more accurate statistics.

<<<
[[SQL-9213]]
== SQL 9213

```
If you intend to update histogram statistics for columns, you must specify a column list in the statement.
```

*Cause:* You attempted to perform UPDATE STATISTICS and did not specify a column list.

*Effect:* Processing continues without interruption.

*Recovery:* Correct your syntax to specify the column list and resubmit.

[[SQL-9214]]
== SQL 9214

```
Object <name> could not be created.
```

*Cause:* UPDATE STATISTICS encountered an error during a CREATE of the object <name>.

*Effect:* {project-name} is unable to continue processing.

*Recovery:* Resubmit the statement. If this does not correct the
problem, stop and restart the {project-name} database software. If this does
not correct the problem, report the entire message to {project-support}.

<<<
[[SQL-10007-]]
== SQL 10007
Expand Down

0 comments on commit a4a538e

Please sign in to comment.