Viewing 2 posts - 1 through 2 (of 2 total)
Hi,
Please find the query to update the cty to 'A' where cty is 'B' and from cty 'B' to 'A'.
BEGIN TRAN
SELECT *FROM CITY
UPDATE CITY
SET CTY = CASE WHEN CTY...
October 10, 2013 at 4:15 am
#1657432
Please find the query that will delete the record for ConsumerID = 99 from table A.
SELECT * FROM TableA
Delete TableA from TableA a
where ConsumerID = 99 and
exists(select 1...
October 10, 2013 at 4:05 am
#1657429