Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL-92 documentation 1

Status
Not open for further replies.

seaport

MIS
Jan 5, 2000
923
US
I am using SQL Server 2005. How do I know that my codes are SQL-92 compliant? When can I find its documentation on the web?

Thanks in advance.

Seaport
 
You can try googling for the 92 standard or compliance, but in SQL you can use SET FIPS_FLAGGER to check your code.

Per BOL:

Code:
SET FIPS_FLAGGER 'level'
 
Arguments
'level'
Is the level of compliance against the FIPS 127-2 standard for which all database operations are checked. If a database operation conflicts with the level of SQL-92 standards chosen, Microsoft SQL Server 2005 generates a warning.

level must be one of the following values. 

Value  Description  
ENTRY
 Standards checking for SQL-92 entry-level compliance.
 
FULL
 Standards checking for SQL-92 full compliance.
 
INTERMEDIATE
 Standards checking for SQL-92 intermediate-level compliance.
 
OFF
 No standards checking.
 
Thanks Lamprey13.

That is exactly what I need.

To my surprise, isnull function is ansi-92 compliant. I always thought it was of microsoft creation.

Seaport
 
swampBoogie,

I agree. I only wanted to point out that SQL Server 2005 does not raise a warning after I "SET FIPS_FLAGGER 'FULL'".

Seaport
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top