Error Message:
FIPS Warning: Line %d has the non-ANSI clause ‘%ls’.
FIPS Warning: Line %d has the non-ANSI clause ‘%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 ‘FULL’;
GO
–IF OBJECT_ID (‘dbo.t’) IS NOT NULL
— DROP TABLE dbo.t;
–GO
–CREATE TABLE dbo.t
–(
— c1 int
–);
SELECT TOP 1
c1
FROM
dbo.t;
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 1 has the non-ANSI statement ‘SET’.
FIPS Warning: Line 10 has the non-ANSI clause ‘TOP’.
FIPS Warning: Line 1 has the non-ANSI statement ‘SET’.
FIPS Warning: Line 1 has the non-ANSI statement ‘SET’.