Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 4729

update

$
0
0

hi,

want to update record  in tabole .I have two records which are having same ServiceId and DAyoftheweek,one thing uncommon is
 Services='IdleTime'  can i write like this 

update DetailsTable set Services='Equipment Configuration' where Services='IdleTime' ,  ServiceID=1 and DayoftheWeek='Wednesday'

8	1	Thursday	2014-01-09 00:00:00.000	Onsite/WalkTesting	edison	Dallas LoveField	9:00am	5:00pm	10			07:50:00	09:30:00
9	1	Thursday	2014-01-09 00:00:00.000	IdleTime	edison	Dallas LoveField	5:00pm	7:00pm		20		01:40:00	09:30:00


Viewing all articles
Browse latest Browse all 4729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>