You are here: update SQL field with stripped data from other field « MsSQL Server « IT news, forums, messages
update SQL field with stripped data from other field

Posted by geekwagon on 10/02/66 11:47

Not a SQL guy but can do enough to be dangerous :)

Trying to update a record. We have records that have a field with data
surrounded by some comment text such as *** Previous Public Solution
*** Start and *** Previous Public Solution *** End . What I am trying
to do is write a SQL statement that will:

Check that field C100 = TICKET0001 (to test with one record before
running on whole db)
Check that field C101 is = Closed
Check that field C102 is null
Copy field C103 data to field C102 and strip out any words such as ***
Previous Public Solution *** Start and *** Previous Public Solution
*** end

Thanks for any help!
Kevin

 

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

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