Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I insert the value using xml into mysqldatabase, but i do not know How to update this xml column?
Please help me?
Posted
Comments
Sunny s 19-Nov-10 4:07am    
I need someone's help.Please help
guayasen_o 9-Dec-10 10:34am    
why u cant use and standard update SQL sentence?

1 solution

If you want to update the content of a column in a target record, you should be able to successfully use the SQL command format:

UPDATE
    table_name
SET 
    column_name = desired_value
WHERE 
    primary_key_column_name = target_record_primary_key_value

MySQL UPDATE Syntax: http://dev.mysql.com/doc/refman/5.1/en/update.html[^]
 
Share this answer
 
v3
Comments
Sunny s 30-Dec-10 2:31am    
I had using XML beacause its very easy method to insert multiple data into data database, and also easy to update..
Thanks a lot all the members for help.. :)

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