SELECT valueId AS id
			,detailTitle AS [text]
	
		FROM countryIdType CID WITH (NOLOCK)
		INNER JOIN staticDataValue SV WITH (NOLOCK) ON CID.IdTypeId = SV.valueId
		WHERE ISNULL(SV.ISActive, 'Y') = 'Y'
			AND ISNULL(isDeleted, 'N') <> 'Y'
			AND (
				spFlag IS NULL
				OR ISNULL(spFlag, 0) = 5200
				)
			--AND valueId in( '11168','11079','10997')
			AND COUNTRYID = 233
select * FROM countryIdType
update staticDataValue set  detailTitle='EEA national Id Card' ,detailDesc='EEA national Id Card' , isActive='Y'
WHERE valueId='8008' --National ID
update staticDataValue set  detailTitle='Bank Statement' ,detailDesc='Bank Statement' , isActive='Y'
WHERE valueId='11080' --Tohon
update staticDataValue set  detailTitle='HM Forces ID' ,detailDesc='HM Forces ID' , isActive='Y'
WHERE valueId='11170' --Student Card
update staticDataValue set  detailTitle='Utility bill' ,detailDesc='Utility bill' , isActive='Y'
WHERE valueId='11171' --CITIZEN NO
update staticDataValue set  detailTitle='other Valid documents' ,detailDesc='other Valid documents' , isActive='Y'
WHERE valueId='11302' --other Gov. Issued



UPDATE staticdatavalue set isActive='N', IS_DELETE='Y'WHERE typeID = 7009

update staticDataValue set  detailTitle='Proof of Address Doc'  , isActive='Y', IS_DELETE='N'
WHERE valueId='11316' and typeID = 7009 --	Utility Bills