how to i split data into multiple column and count from date if even then "out" and odd then "in" into sql server
Data like 1001,65-215485629215,05/06/2020 10:20:03
this data is in single column and i want to separate into multiple colomn like eliid, empid date_time
if time sec in even then emp is "out" and sec is odd then "in"
please help me...


Arvind KushwahaRank #685 · 3.5K reputationPosted Jun 15, 2020, 4:32 AM EDT
Bhavesh VankarRank #1,147 · 1.6K reputationPosted Jun 15, 2020, 7:43 PM EDT
Arvind KushwahaRank #685 · 3.5K reputationPosted Jun 15, 2020, 8:03 PM EDT
Bhavesh VankarRank #1,147 · 1.6K reputationPosted Jun 15, 2020, 8:10 PM EDT