I am trying to create some system reports. I recieve the data into SQL thru a DTS package and it is received as a varchar(255). The only problem with that is that the information I am having problems with are seconds. I am then converting to numeric(25) in the query. now the data that I am working with, Which are supposted to be seconds and come in as varchar, are now in what I think is the right format.
Now to the problem. I am trying to convert these seconds to minutes to run reports of them, but when I try to divid by 60 to give me minutes then I get for some number 16:88 minutes. Of course that is incorrect. So my question is at the end of all of this junk up above is:
How can I convert numbers that come in as varchar to seconds an get minutes from that?
Sorry for all the mess up above and thanks for all the help.
Now to the problem. I am trying to convert these seconds to minutes to run reports of them, but when I try to divid by 60 to give me minutes then I get for some number 16:88 minutes. Of course that is incorrect. So my question is at the end of all of this junk up above is:
How can I convert numbers that come in as varchar to seconds an get minutes from that?
Sorry for all the mess up above and thanks for all the help.