RSS Forums RSS
Please support our MS SQL advertiser: Programming Forums

need help on replacing a value in a field (MSSQL)

Join Date: Jul 2006
Posts: 17
Reputation: newMeg is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
newMeg newMeg is offline Offline
Newbie Poster

Help need help on replacing a value in a field (MSSQL)

  #1  
Apr 3rd, 2007
Hi,

I have a table in which there is a field for mobile no. Currently the data in the field has been entered with a dash(-) after the code.

eg-

MobileNo (this is the field name)
-------------------------------------
1. 6016-2880537
2. 6012-3137200

so there is about 400 records in the table now. How possible is it for me to replace the delimeter (-) with '' or to remove the dash from the column mobileno with a single query. I know i can go remove the dash manually in enterprise manager,but it's time consuming.

Pls help..any help is greatly appreciated.

Thanks in advanced.
AddThis Social Bookmark Button
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 12:41 pm.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC