FIPS Warning: Line %d has the non-ANSI clause ‘%ls’.

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’.




Related Articles :

  • No Related Articles Found

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

Software Reviews | Book Reviews | FAQs | Tips | Articles | Performance Tuning | Audit | BI | Clustering | Developer | Reporting | DBA | ASP.NET Ado | Views tips | | Developer FAQs | Replication Tips | OS Tips | Misc Tips | Index Tuning Tips | Hints Tips | High Availability Tips | Hardware Tips | ETL Tips | Components Tips | Configuration Tips | App Dev Tips | OLAP Tips | Admin Tips | Software Reviews | Error | Clustering FAQs | Performance Tuning FAQs | DBA FAQs |