4. A method, in a data processing device, of tagging structured query language (SQL) components of a SQL query string, the method comprising: parsing, by the data processing device, the SQL query string into the SQL components of the SQL query string; analyzing, by the data processing device, the parsed SQL components of the SQL query string and determining tags associated with the SQL components of the parsed SQL query string; applying, by the data processing device, the determined tags to the associated SQL components of the parsed SQL query string; and concatenating, by the data processing device, the SQL components of the parsed SQL query string with the associated tags to generate the tagged SQL query string comprising the components of the SQL query string and the applied tags, wherein the tags are extensible markup language (XML) tags selected from a predefined group of XML tags describing components of SQL queries.
4. A method, in a data processing device, of tagging structured query language (SQL) components of a SQL query string, the method comprising: parsing, by the data processing device, the SQL query string into the SQL components of the SQL query string; analyzing, by the data processing device, the parsed SQL components of the SQL query string and determining tags associated with the SQL components of the parsed SQL query string; applying, by the data processing device, the determined tags to the associated SQL components of the parsed SQL query string; and concatenating, by the data processing device, the SQL components of the parsed SQL query string with the associated tags to generate the tagged SQL query string comprising the components of the SQL query string and the applied tags, wherein the tags are extensible markup language (XML) tags selected from a predefined group of XML tags describing components of SQL queries. 5. The method as claimed in claim 4 , wherein the analyzing step comprises the steps of: comparing a parsed SQL component with a collection of tags; and determining which tag in the collection of tags is associated with the parsed SQL component.