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 a column in table ?

Status
Not open for further replies.

maverick

MIS
Apr 21, 1999
193
0
0
US
In one field on all records I want to get rid of anything longer than 8 characters,

I tried: SELECT LEFT(`colName`, 8);

It didn't work of course... hehehe

Can someone enlighten me?

thanks,
Mav
 
well, SELECT would retrieve the data

did you want to update it?

try the UPDATE statement then :)

r937.com | rudy.ca
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top