Re: SQL QUERY to MYSQL
During exction of this query;
set @sql = '';
SELECT @sql = @sql + 'SELECT name FROM ['+ TABLE_NAME +'] UNION ALL '
FROM information_schema.`TABLES` T where table_name like 'Custom%';
select @sql
I got this error..
Truncated incorrect DOUBLE value: 'SELECT name FROM ['
Truncated incorrect DOUBLE value: '] UNION ALL '
Truncated incorrect DOUBLE value: 'custom_70010'
Truncated incorrect DOUBLE value: 'SELECT name FROM ['
Truncated incorrect DOUBLE value: '] UNION ALL '
Truncated incorrect DOUBLE value: 'custom_70011'
Truncated incorrect DOUBLE value: 'SELECT name FROM ['
Truncated incorrect DOUBLE value: '] UNION ALL '
Truncated incorrect DOUBLE value: 'custom_70012'
Truncated incorrect DOUBLE value: 'SELECT name FROM ['
Truncated incorrect DOUBLE value: '] UNION ALL '
Truncated incorrect DOUBLE value: 'custom_70033'
Subject
Written By
Posted
Re: SQL QUERY to MYSQL
August 17, 2012 08:52PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.