FIPS Warning: The length of identifier ‘%.*ls’ exceeds 18.

Error Message:
FIPS Warning: The length of identifier ‘%.*ls’ exceeds 18.
FIPS Warning: The length of identifier ‘%.*ls’ exceeds 18.

Severity level:
10.

Description:
This informational error message appears when you try to use an identifier that exceeds the length of 18 characters.

Consequences:

Resolution:
Error of this severity level are informational errors that do not have an effect on the statement.

Versions:
All versions of SQL Server.

Example(s):
SET FIPS_FLAGGER ‘FULL’;
GO
IF OBJECT_ID (‘dbo.ttttttttttttttttttttttttttttttttttttttttttttt’) IS NOT NULL
    DROP TABLE dbo.ttttttttttttttttttttttttttttttttttttttttttttt;
GO
CREATE TABLE dbo.ttttttttttttttttttttttttttttttttttttttttttttt
(
    c1 int
);

Remarks:
In the above example we set the FIPS FLAGGER to check for ISO full-level compliance. Executing the batch gives this result:

FIPS Warning: Line 1 has the non-ANSI statement ‘SET’.
FIPS Warning: Line 2 has the non-ANSI statement ‘DROP’.
FIPS Warning: The length of identifier ‘ttttttttttttttttttttttttttttttttttttttttttttt’ exceeds 18.
FIPS Warning: The length of identifier ‘ttttttttttttttttttttttttttttttttttttttttttttt’ exceeds 18.




Array

No comments yet... Be the first to leave a reply!