Advantage Database Server store procedures

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
unixkd
Posts: 565
Joined: Thu Feb 11, 2010 1:39 pm

Advantage Database Server store procedures

#1 Post by unixkd »

Hi all

How can we invoke the Advantage Database Server store procedures in our applications

Thanks

Joseph

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Advantage Database Server store procedures

#2 Post 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.
The eXpress train is coming - and it has more cars.

User avatar
unixkd
Posts: 565
Joined: Thu Feb 11, 2010 1:39 pm

Re: Advantage Database Server store procedures

#3 Post 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

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Advantage Database Server store procedures

#4 Post 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
The eXpress train is coming - and it has more cars.

Post Reply