distal-attribute
distal-attribute
distal-attribute
distal-attribute

Update a column

User, date Message
Written by MAC301
2 years ago
Category: Running SQL scripts
8 posts since Sun, 21 Oct 12
I have a column/field 'policy_type' that have 'HO Prefe' that I need to correct to 'HOP'... I followed a previous post..How can I update some incorrect fields in a column?
I keep getting a 1064 error?... Can anyone tell me what's wrong with this?

Query:

1.SELECT * FROM quick_rates WHERE company_id=(6)
2.UPDATE quick_rates SET policy_type='HOP' WHERE policy_type='HO Prefe'
 

Please login to leave a reply, or register at first.