Question : Only select part of a column with SQL

I'm writing an SQL SELECT statement against an MS Access database. The fields in the database are all set to large sizes (say 255) and I can't change them. (It's not my database, hence the poor initial design.)

For reasons that aren't really pertinent here, I need to select only part of the column. Say, the first 50 charachters or so. Can I do that? Actually, How can I do that is the more important question.

Anyone? Anyone?

Answer : Only select part of a column with SQL

select mid([YourcolumnName],1,50) from YourTable
Random Solutions  
 
programming4us programming4us