ODOWA
Accueil Inscription Contact

How it Works: SQL Command Mode Parsing

I ran across a teaser this week that makes for a interesting blog post.  SQL Server uses a common batch parser for the SQLCMD, OSQL, SSMS Query Window in Command mode and various other locations.    The primary job of this parser is to identify GO delimited batches.  However, it can also identify the extended commands as outlined in SQL Server Books Online. Let's use the following .SQL file as our example.  The !! (bang bang) executes the specified command.  Other command such as ':Help' are also available. ======... lire la suite

Lien du post: http://blogs.msdn.com/psssql/archive/2008/09/18/how-it-works-sql-command-mode-parsing.aspx

Sur le même thème :