Quizzes & Puzzles0 min ago
How do you cut/trim a word using SQL and/or Access?
5 Answers
I need to cut a number down that contains letters.
For example
K=GH5678+
K=CV234+
I just need 5678 and 234.
thanks
For example
K=GH5678+
K=CV234+
I just need 5678 and 234.
thanks
Answers
Best Answer
No best answer has yet been selected by keys. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.SELECT Left(Mid(ColumnName,5),(len(Mid(ColumnName,5))-1)) from tableName
obviously here, ColumnName is the heading of the data such as "CarNumberPlate" and tableName is, well that requires no figuring out.
Does that work? You can also bung in
AS "new table heading name"
just before "from tableName".
obviously here, ColumnName is the heading of the data such as "CarNumberPlate" and tableName is, well that requires no figuring out.
Does that work? You can also bung in
AS "new table heading name"
just before "from tableName".
Related Questions
Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.