cplsplsprogrammer
Programmer
Hello all,
Can anyone please tell me how can I convert a value from seconds to HH:MM:SS format in sql server? I am using sql server 2000. Do I need to write a user defined function for it? or is there any built in function that I can use? I tried to use the "convert" but it didnt work. I used it as
convert( int, "value", 108) but it is returning the same value as given. Can anyone please tell me how can i proceed.
Thanks.
Can anyone please tell me how can I convert a value from seconds to HH:MM:SS format in sql server? I am using sql server 2000. Do I need to write a user defined function for it? or is there any built in function that I can use? I tried to use the "convert" but it didnt work. I used it as
convert( int, "value", 108) but it is returning the same value as given. Can anyone please tell me how can i proceed.
Thanks.