|
AnyDAC
|
Identifies schema name for some of command kinds.
The SchemaName identifies the name of the schema where resides command object. The meaning depends on CommandKind and MetainfoKind:
property SchemaName: String;
CommandKind, TADMetaInfoCommand.MetaInfoKind, SchemaName
ADCommand1.SchemaName := 'SCOTT'; ADCommand1.CommandText.Text := 'PROC1'; ADCommand1.CommandKind := skStoredProc; ADCommand1.Prepare; ADCommand1.Params[0].AsInteger := 100; ADCommand1.Params[1].AsString := 'Bill Gates'; ADCommand1.Execute;
ADMetaInfoCommand1.SchemaName := 'ADDEMO';
ADMetaInfoCommand1.ObjectName := 'MY_TAB';
// or on Oracle just ADMetaInfoCommand1.ObjectName := 'ADDEMO.MY_TAB';
ADMetaInfoCommand1.MetaInfoKind := mkTableFields;
ADMetaInfoCommand1.Open;|
What do you think about this topic? Send feedback!
|