How TIBCMetaData to get detail Stock Procedure
Posted: Fri 23 Sep 2016 02:01
When I Extract Procedure using TIBCMetaData, I can't get my detail procedure using this component.
I've try this one :
the result just the name of procedure not detail of procedure.
Can you help me how to get DDL / detail Stock Procedure ? Cause I need to update Database and alter newer procedure on the same Procedure Name.
Thanks
Best regards.
I've try this one :
Code: Select all
var
MetaData : TIBCMetaData;
S : String
begin
MetaData := TIBCMetaData.Create(Nil);
MetaData.Connection := IBCConnection1;
MetaData.MetaDataKind := 'Procedures';
MetaData.Restrictions.Values['PROCEDURE_NAME'] := 'ADD_DETAILPO';
MetaData.Active := True;
while not MetaData.Eof do
begin
S := MetaData.Fields[2].AsString + AnsiString(#13#10) + S;
MetaData.Next;
end;
end;Can you help me how to get DDL / detail Stock Procedure ? Cause I need to update Database and alter newer procedure on the same Procedure Name.
Thanks
Best regards.