vizagpower Posted July 12, 2016 Author Report Posted July 12, 2016 36 minutes ago, SlMHAM said: sare neeku maaku sync avatle gani.. Single update badulu randu rayi... case statement badulu where use cheyyi... oka update statement with flag = 0 when datediff <=120 inkoti update statement with flag = 1 when datediff >120 Select CASE WHEN datediff(SS,frr.dateEnd,ua.imagegen_dt) <= 120 THEN 0 ELSE 1 END AS testFROM uas.fileread_files ff inner join uaimage_test ua on ff.individual_id=ua.ind_noinner join uas.fileread_reads frr on frr.ff_id=ff.id where docType='RDST' and frr.dateEnd is not null and ff.id in ( select id from uas.fileread_files where lu_semester=48) Run cheyyi emustundo cheppu aa case statement working but the freaking u 5 minutes ago, SlMHAM said: Sharma yaadapoyav im here simhaaa Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.