Re: Two DBs two
Posted in 1996
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
Ramiro Rela wrote: > > I need to name a table which belongs to another databse using dbname:tabname > sintax but I don't know dbname until I ran the program. > I don't want to change lot of accesses to tables with dynamic statements, > so I need a miracle called MACRO (or some cool trick I missed). > > Is there a hope in Infomix 4GL v4.10? > What version of Infx does include MACROS (if any)? > Do you have any comments about this problem? > Am I clear? Am I understandable? Yes there is hope in 4GL. Take a look at the PREPARE statement in the manual. Cheers, -- Mark. +-------------------------------------------------------------------------+ |Mark D. Stock - The West Solutions Group http://www.west.co.za | | The Informix FAQ is at http://www.iiug.org | |mailto:marks@west.co.za +------------------------------------------------+ |Tel: +27 11 803 2151 |If it doesn't work... force it! | |Fax: +27 11 803 2189 |If it breaks... it needed replacing anyway! | |Cell: +27 83 250 2325 |Well, that's how I code anyway! | +------------------------+------------------------------------------------+