You seem to have an idea what to do for MySQL. I can't say much about Oracle, except that it mainly implements ANSI SQL, and PL / SQL procedural language extensions for SQL can mainly be found here for Oracle 9i.
For SQL Server:
Microsoft Books On Line (BOL) is the official reference specification. However, there are different pages for different versions of SQL Server. There are several projects related to this.
http://www.sqlparser.com/ - It has versions of .NET, Java, COM and VCL for Oracle, DB2, Mysql and SQL Server / Sybase (T-SQL), very reasonable price too.
http://www.codeproject.com/Articles/1136/SharpHSQL-An-SQL-engine-written-in-C (#)
http://antlr.org/ - .
SQL, , :
http://www.dpriver.com/pp/sqlformat.htm
:
http://www.tsqltidy.com/
, SQL - . ISO/IEC ANSI SQL. ANSI SQL-92 , SQL: 2008.
, .
.