on 2023 Dec 15 1:38 PM
Hello,
HOW I CAN ELIMINATE THE SYMBOLS AND KEEP ONLY THE NUMBERS AND LETTERS IN THE RESULT OF MY QUERY SQL?
FOR EXAMPLE example :
From : ML TUBE INOX 316L Ø 27X3MM""
To : ML TUBE INOX 316L 27X3MM
Any ideas?
Regards.
Request clarification before answering.
Hi,
if you have SQL Server 2017 or higher you can use the translate function from here.
"Returns the string provided as a first argument, after some characters specified in the second argument are translated into a destination set of characters, specified in the third argument."
Nice example can be found here.
Regards
Clas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
12 | |
7 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.