April 20, 2012 at 5:43 am
Hi,
I want to remove spaces in phone numbers? Does anyone have script to do this on the on load, on save and on change script.
Kind Regards
April 20, 2012 at 5:51 am
Replacing characters can be easily done with the REPLACE function available in SQL Server 2005 onwards.
http://msdn.microsoft.com/en-us/library/ms186862(v=sql.90).aspx
:exclamation: "Be brave. Take risks. Nothing can substitute experience." :exclamation:
April 20, 2012 at 6:53 am
I need something in java script for CRM 4.0
April 20, 2012 at 6:57 am
Javascript... umm.... this is a SQL Server Forum!
:exclamation: "Be brave. Take risks. Nothing can substitute experience." :exclamation:
April 20, 2012 at 7:26 am
Robin Sasson (4/20/2012)
Replacing characters can be easily done with the REPLACE function available in SQL Server 2005 onwards.http://msdn.microsoft.com/en-us/library/ms186862(v=sql.90).aspx
Actually REPLACE has been around a lot longer than 2005. BOL does not have the option for 2000 anymore because it is no longer supported. 🙂
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
April 20, 2012 at 7:27 am
Sachin 80451 (4/20/2012)
I need something in java script for CRM 4.0
As already said you will find a lot more help using google than a sql forum for javascript help. However the javascript replace function is pretty simple to use and the syntax is almost identical to sql server (and almost every other programming language).
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply