Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Performing a String Remove in SQL
Message
From
10/05/2007 12:52:02
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01224234
Message ID:
01224255
Views:
16
>>>>I have a string "123456-7890".
>>>>
>>>>I want to remove the "-" from it. Is there a string remove command, or do I need to do some fun stuff with substrings?
>>>
>>>You can use REPLACE() function ( similar to VFP STRTRAN())
>>>
>>>REPLACE(mycol, '-', '')
>>>
>>
>>Wow, I hate how the function names are different in different platforms. I need one big cross reference chart. Thanks a lot!
>
>Nice idea. I made a quick search, but haven't found it. Perhaps we can write a topic in wikis.

I think there is something like that in WIKIS. Just can't remember the link.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform