21 lines
879 B
Transact-SQL
21 lines
879 B
Transact-SQL
-- Dieses Skript aktualisiert die Tabelle ErrorText
|
|
-- Die Texte werden bei der Validierung von Nachrichten verwendet
|
|
|
|
DELETE FROM ErrorText
|
|
GO
|
|
INSERT INTO ErrorText (ErrorCode, ErrorText) VALUES (1, '{0} must not be empty');
|
|
GO
|
|
INSERT INTO ErrorText (ErrorCode, ErrorText) VALUES (2, '{0} must be a LOCODE');
|
|
GO
|
|
INSERT INTO ErrorText (ErrorCode, ErrorText) VALUES (3, '{0} must be a german harbour LOCODE');
|
|
GO
|
|
INSERT INTO ErrorText (ErrorCode, ErrorText) VALUES (4, '{0} must be a GISIS code');
|
|
GO
|
|
INSERT INTO ErrorText (ErrorCode, ErrorText) VALUES (5, '{0} must be a number > 0');
|
|
GO
|
|
INSERT INTO ErrorText (ErrorCode, ErrorText) VALUES (6, '{0} must be a decimal > 0');
|
|
GO
|
|
INSERT INTO ErrorText (ErrorCode, ErrorText) VALUES (7, '{0} must be a 2 character flag code');
|
|
GO
|
|
INSERT INTO ErrorText (ErrorCode, ErrorText) VALUES (8, '{0} must be 2 digits');
|
|
GO |