Error messages indexed by SQLSTATE
678
SQLSTATE Error message
52010 "Item ’%1’ already exists" on page 823
52012 "More than one table is identified as ’%1’" on page 831
52W02 "Correlation name ’%1’ not found" on page 762
52W03 "Cannot find index named ’%1’" on page 737
52W04 "Index name ’%1’ not unique" on page 800
52W05 "Table cannot have two primary keys" on page 885
52W06 "Foreign key ’%1’ for table ’%2’ duplicates an existing foreign
key" on page 792
52W07 "Foreign key name ’%1’ not found" on page 793
52W08 "There is more than one way to join ’%1’ to ’%2’" on page 900
52W09 "Procedure ’%1’ not found" on page 848
52W10 "Trigger ’%1’ not found" on page 904
52W11 "Trigger definition conflicts with existing triggers" on
page 904
52W12 "Invalid REFERENCES clause in trigger definition" on
page 816
52W13 "Dbspace ’%1’ not found" on page 780
52W14 "Table ’%1’ is in an outer join cycle" on page 882
52W15 "Table ’%1’ requires a unique correlation name" on page 884
52W16 "User message %1 already exists" on page 919
52W17 "User message %1 not found" on page 919
52W18 "User-defined type %1 not found" on page 921
52W19 "Dbspace for table ’%1’ not found" on page 780
52W20 "Too many columns in table" on page 901
52W21 "Data definition statements not allowed in procedures or
triggers" on page 771
52W22 "GRANT of column permission on view not allowed" on
page 794
52W23 "Invalid expression in WHERE clause of Transact-SQL outer
join" on page 810
52W24 "Invalid join type used with Transact-SQL outer join" on
page 813
52W25 "Invalid comparison" on page 805
52W40 "Index name ’%1’ is ambiguous" on page 800