FIPS Warning: Line %d has the non-ANSI statement '%ls'.

Error Message:
FIPS Warning: Line %d has the non-ANSI statement ‘%ls’.
FIPS Warning: Line %d has the non-ANSI statement ‘%ls’.

Severity level:
10.

Description:
This informational error message appears when you try to use a non-ANSI compliant statement while the FIPS FLAGGER is activated.

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 ‘ENTRY’;
GO
IF OBJECT_ID (‘dbo.t’) IS NOT NULL
    DROP TABLE dbo.t;
GO
CREATE TABLE dbo.t
(
    c1 int
);

Remarks:
In the above example we set the FIPS FLAGGER to check for ISO entry-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’.

]]>

Leave a comment

Your email address will not be published.