I have a table named @table1 which have two field one LoginDate and another Name field.
I want to create a view @table2 like below;
I want if Date field's Time value is between 6:00:00 to 12:00:00 then Greetings will be Good Morning and if Time value is between 4:00:00 to 5:00:00 then Greetings will be Good Afternoon and so on. How can i do this?