SQLText(Driver: String): String;
Driver. DBMS driver identifier.
The SQLText property determines SQL query of view for the certain driver of database.
The list of identifiers that can be used as a value of the Driver parameter is given in the Summary List of Identifiers section.
Sub Main;
Var
MB: IMetabase;
Predstav: IView;
SQL: String;
Begin
MB := MetabaseClass.Active;
Predstav := MB.ItemById("View_1").Bind As IView;
SQL := Predstav.SqlText("ORCL");
End Sub Main;
After executing the example, the SQL variable contains SQL query for Oracle driver. The view has the View_1 identifier.
See also: