Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Updating ALL tables 1

Status
Not open for further replies.

perlTest

Programmer
Nov 16, 2002
14
0
0
US
Hi,

Currently I have a table called 'software' and for the price column, it has the following:

table: software;

id | pid | price
910 1054 $475
911 1055 $501

How do I remove that "$" dollar sign? Thank You.

-Matt
 
UPDATE software SET price = TRIM(LEADING '$' FROM price)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top