Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Is Query supports (now) more statement as in DBISAM?
Mon, Jan 25 2010 10:12 AMPermanent Link

durumdara
Dear Support!

Is query supports now more statement as in DBISAM?

For example:

select * into memory x  from a;
update ....
select * from memory x;

And if supports, then what is the separator I can use?

Thanks:
     dd
Mon, Jan 25 2010 10:41 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

durumdara

>Is query supports now more statement as in DBISAM?

No TEDBQuery is restricted to a single sql statement. I think there is a method call to convert them into scripts but I've never used it and can't remember what it is (if it exists).

What you need is a TEDBScript. This allows multiple simple statements similar to DBISAM (but you need to use the syntax EXECUTE IMMEDIATE 'sqlcode') but also has its own comprehensive programming language so are much more powerful.

Roy Lambert [Team Elevate]
Image