ERROR FWMARIADB, Mr. Rao. URGENTE!
Posted: Tue Aug 11, 2020 8:46 pm
Mr. Rao,
si hago esto :
cuando hago un INSERT no me hace nada y es porque la tabla no existe.
Gracias.
si hago esto :
Code: Select all
acTable[1]:= "temp10" //+ALLTRIM(STR(INT(Seconds()),7))
::oServer:Execute( "DROP TABLE IF EXISTS "+acTable[1] )
cQuery:= "CREATE TEMPORARY TABLE "+acTable[1]+" "+;
"(id int(11) NOT NULL auto_increment, "+;
"fecha date DEFAULT NULL, "+;
"comprobante varchar(20), "+;
"codcli double(6,0), "+;
"lista double(2,0), "+;
"cantid double(10,3), "+;
"kilos double(10,3), "+;
"precio double(12,2), "+;
"bonifi double(6,2), "+;
"importe double(12,2), "+;
"codven double(4,0), "+;
"codart varchar(20), "+;
"PRIMARY KEY (`id`), "+;
"UNIQUE KEY `id` (`id`) ) "
::oServer:Execute( cQuery )
Gracias.