Hi,
Using VFP9sp2x I'm replacing my xbase commands with sql like commands and have read that some of this is not as straight forward as we would like to see. I'm doing this using the SQL commands built into VFP9sp2 and only on dbf local tables. There is NO SQL database in this mix. There is confusion with what works and what doesn't when using vfp's sql, mssql, mysql, and/or mixing them, so I'll give each question a number and listen to your advice...
Once again, NO SQL databases here, only VFP databases and tables...
Using VFP9sp2...
1. Combining insert and union commands within a select statement when result cursors are used. - All references I've read says it DOES NOT WORK. It looks as if the vfp sql statement can create the cursor, it should be able to use in it unions and inserts, right????
2. Vfp cursors cannot be referenced by the builtin VFP SQL engine. I can see why real SQL engines would have a problem with referencing the VfP cursor as they are totally local with no outside references. Is that still true with vfp's builtin sql engine?
3. What else can or cannot be done with vfp's sql engine in the vfp environment that cannot be done in a mssql or mysql environment?
Any thoughts and explanations greatly appreciated...
Stanley
Using VFP9sp2x I'm replacing my xbase commands with sql like commands and have read that some of this is not as straight forward as we would like to see. I'm doing this using the SQL commands built into VFP9sp2 and only on dbf local tables. There is NO SQL database in this mix. There is confusion with what works and what doesn't when using vfp's sql, mssql, mysql, and/or mixing them, so I'll give each question a number and listen to your advice...
Once again, NO SQL databases here, only VFP databases and tables...
Using VFP9sp2...
1. Combining insert and union commands within a select statement when result cursors are used. - All references I've read says it DOES NOT WORK. It looks as if the vfp sql statement can create the cursor, it should be able to use in it unions and inserts, right????
2. Vfp cursors cannot be referenced by the builtin VFP SQL engine. I can see why real SQL engines would have a problem with referencing the VfP cursor as they are totally local with no outside references. Is that still true with vfp's builtin sql engine?
3. What else can or cannot be done with vfp's sql engine in the vfp environment that cannot be done in a mssql or mysql environment?
Any thoughts and explanations greatly appreciated...
Stanley