SQLName (Property)

Applies To:

Requests collection

Description:

Returns the name of the Request object used in building SQL statements.

Action:

Read-only, String

Example:

This example shows how to display all names used in the SQL statement corresponding to the Request Line items:

var RequestCount = ActiveDocument.Sections["Query"].Requests.Count
for (j =1 ; j <= RequestCount ; j++)
     {
    var DisplayName  = ActiveDocument.Sections["Query"].Requests[j].DisplayName
    var SQLName = ActiveDocument.Sections["Query"].Requests[j].SQLName
     Console.Writeln("The column named "+ DisplayName + "is actually known by "+ SQLName + "to the database.")
     }