Page 1 of 1
Advantage Database Server store procedures
Posted: Thu Jun 28, 2012 2:03 am
by unixkd
Hi all
How can we invoke the Advantage Database Server store procedures in our applications
Thanks
Joseph
Re: Advantage Database Server store procedures
Posted: Thu Jun 28, 2012 9:02 am
by rdonnay
Stored procedures are only available for .ADT files in a Data-Dictionary.
They cannot be invoked in your Xbase++ code.
They are instead invoked at the server whenever an update occurs to a table that has a stored procedure.
Re: Advantage Database Server store procedures
Posted: Thu Jun 28, 2012 10:18 am
by unixkd
What I need is the invocation of sp_* of ASD like:
EXECUTE PROCEDURE sp_GetTables( catalog,Character,200;
schemaPattern, Character,200;
tableNamePattern, Character,255;
Types,memo; )
Thanks
Re: Advantage Database Server store procedures
Posted: Thu Jun 28, 2012 11:27 am
by rdonnay
This can be done in a SQL script.
Have you read my white paper on this?
http://donnay-software.com:8080/donnay/adssql.zip