Is it possible, in an SQL query, to take the results from a column and run the equivalent of an Excel LEFTB on them, that is trim everything apart from the first n characters from the ...
SQL is a convenient way to manage and query your data, but badly written queries can tie up your database. Here are seven common SQL traps and how to avoid them. Database developers have it tough.