I am having a table (Table Name -Production) in SQL Server.The Production table have a Column TimeSpent (Datatype- varchar(25)) and stores Number of minutes spent . Example 60,78,23 etc.
I want to display TimeSpent in HH:MM Format in a select statement. for example it display 01:00 for 60, 01:18 for 78 and so on.
Please help me that how i will write this query.
I am having a table (Table Name -Production) in SQL Server.The Production table have
Share
1 Answer