MySQL dat_exec() nº error: 1064 msg error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
MySQL dat_exec() nº error: 1064 msg error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and ifnull(sts_anulado,0)=0 and ifnull(sts_eliminada,0)=0 order by numero_sec...' at line 1