Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
sms_error_-_key_violation [2019/06/14 16:08] vsouvannarath |
sms_error_-_key_violation [2019/07/18 12:53] (current) orichards [Open Database Browser] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| Each record in the SMS datbase (and most others) has a //key// field. This field uniquely identifies the record (row of data) and is used by the database to quickly find the record. In SMS tables, the first column in the table (usually ending in " | Each record in the SMS datbase (and most others) has a //key// field. This field uniquely identifies the record (row of data) and is used by the database to quickly find the record. In SMS tables, the first column in the table (usually ending in " | ||
| Line 10: | Line 10: | ||
| ==== Open Database Browser ==== | ==== Open Database Browser ==== | ||
| - | - Make a backup of the ~\Cyrious\SMS\Data folder. | + | - Make a backup of the ~\Cyrious\SMS\Data folder |
| - Run the [[: | - Run the [[: | ||
| - Run the [[: | - Run the [[: | ||
| - Open the DBBrowser. | - Open the DBBrowser. | ||
| + | |||
| ==== Look for Bad Data At the Top of Each Table ==== | ==== Look for Bad Data At the Top of Each Table ==== | ||
| Line 21: | Line 22: | ||
| * If a blank ID records turns up with valid information, | * If a blank ID records turns up with valid information, | ||
| - Delete any large negative values records at the top of the database (i.e. -117346859). | - Delete any large negative values records at the top of the database (i.e. -117346859). | ||
| - | - Renumber any normal size negative number with the psotive | + | - Renumber any normal size negative number with the positive |
| * If you get a key violation renumbering it (meaning the positive record already exists), delete the negative record. | * If you get a key violation renumbering it (meaning the positive record already exists), delete the negative record. | ||
| Line 181: | Line 182: | ||
| **Note: | **Note: | ||
| - | |||
| - | See Also | ||
| - | |||