• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

remove "-" from SQL query results

Homerboy

Lifer
I have values stored in SQL that contain numbers and "-" (so 9999-00-2-3333 for example).

I need them stored like that for most things, but one report I need to pull it for has to be without the "-" in the sequence.

Is there anyway to format those query results within the query itself?

Thanks in advance.
 
Hey Homer!!!

You can use the "REPLACE" function.

You should try googling for an answer before wasting these good people's time and energy next time!

BTW, you are a handsome fellow!

Enjoy your day!
 
Random SQL fact of the day...

Good to learn a new SQL function. Granted, I try to do a minimal amount of work on the database and then work with the data on another server.
 
Back
Top