Hi All,
i've been looking our threads related to this but none I found..
I am looking for a way to save oRS to Table (not as .dbf) in MariaDB.. How to do this
any
MariaDB RS to Temporary Table
MariaDB RS to Temporary Table
Kind Regards,
Frances
Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
Frances
Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
Re: MariaDB RS to Temporary Table
Hi Fraxzi,
I think you can do something like this:
I think you can do something like this:
Code: Select all
aValues := oCn:QueryResult("SELECT * FROM yourtable")
oCn:Insert("newtable",,aValues)
Re: MariaDB RS to Temporary Table
Hi Vilian,
Thanks! I will try this. Let you know.
Thanks! I will try this. Let you know.
Kind Regards,
Frances
Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
Frances
Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
Re: MariaDB RS to Temporary Table
I use
oServer:Execute( 'CREATE TABLE tmp_1234 AS select * FROM yourtable ')
Maurizio
www.nipeservice.com
oServer:Execute( 'CREATE TABLE tmp_1234 AS select * FROM yourtable ')
Maurizio
www.nipeservice.com