hello guys how r u ?
my question is that, i have to append same text in multiple rows where column value text length less then 5 char
so what would be the query for that ??
reply soon
Thanks
How to to append text in update query ?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Santhosh Kumar JayaramanRank #563 · 4.3K reputationPosted Jun 28, 2012, 11:29 PM EDT
set useraddress=useraddress+'test5'
where len(useraddress)<5
Jignesh TrivediRank #16 · 50.3K reputationPosted Jun 28, 2012, 11:38 PM EDT
I have one Question here Is your field nullable?
If NO then go with Santosh 's solution
Other wise try
some modification of above query
update table_user
set useraddress=isnull(useraddress,'')+'Some of your text'
where len(isnull(useraddress,''))<5
Because len(null) is always return null so condition is not fulfill.
hope this will help you.
Faisal AnsariRank #3,366 · 427 reputationPosted Jun 29, 2012, 1:26 AM EDT