You are here: Re: how do i replace a substring in sqlserver ? « MsSQL Server « IT news, forums, messages
Re: how do i replace a substring in sqlserver ?

Posted by Hugo Kornelis on 02/07/06 00:46

On Mon, 06 Feb 2006 17:50:01 +0200, David Greenberg wrote:

>Hi
>I have a character field, varchar(60), and I want to replace only a part
>of it, a set substring which is always in the same set positions.
>Does anyone have an Sql statement or algorithm/sp that could do that
>with one call or run ?
>Thanks
>David

Hi David,

Look up the STUFF function in Books Online - this will do exactly what
you want.

--
Hugo Kornelis, SQL Server MVP

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация