Showing posts with label DB. Show all posts
Showing posts with label DB. Show all posts

Tuesday, 4 December 2012

Update Table from other DB table

use TV_Guide
update Countries
set  country_FlagIcoLinkEncryptionInfo= d.couFlagIcoLinkEncryptionInfo

from DishesOnline.dbo.Countries d
where country_NameEn = d.couNameEn

Sunday, 28 August 2011

Search in NTEXT column in SQL


To search in a column in SQL whose DataType is NTEXT or NVARCHAR use the reserved word LIKE
See the Example Below 
use DBName
select * 
from dbo.TableName
where NTextFieldName LIKE 'Your Search Word or Sentence'