Click here to Skip to main content
15,889,595 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
what im trying to do is the following query

XML
select fontID from font where fontStyle="<?xml version="1.0" encoding="UTF-8"?>
<java version="1.7.0_17" class="java.beans.XMLDecoder">
 <null/>
</java>
"


i have a table font with two columns fontID and fontStyle

filled with records. What i need to know is how to get the fontID
i did the select statement as above but an error is reffering to the xml string how could i do that?
Posted
Comments
Nirav Prabtani 5-Jul-13 8:05am    
what is error displaying???
yamen-nassif 5-Jul-13 8:12am    
i tried to put (+") after each (")
but it gave me no record
:(

1 solution

XML
[SQL] select fontID from font where fontStyle="<?xml version=\1.0" encoding="UTF-8"?>
<java version="1.7.0_17" class="java.beans.XMLDecoder">
 <null/>
</java>
"

[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'encoding="UTF-8"?>
<java version="1.7.0_17" class="java.beans.XMLDecoder">
 <n' at line 1




this is the error
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900