Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Time calculate

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2000-10-29 : 23:41:10
Ricardo writes "Hi SQLTeam

First congratulation for a greated SQL Site !

My answer is:

I have 8 tables which relationship between itself.

One table called "Time" have some information and one colun called "t_horas".

My first question is :

I need save time values at t_horas field, what the datatype can I use ? Today i ´m using char(5) is correct ? Using dateTime value the field date too, and I need so time.

My second quest is:

I need Sum the time values at "t_horas" field how can I make it ? The aggregate fuction SUM don ´t work with char or datetime values.

I need some urgency to solve this problem.

Thanks for Help !
Ricardo
From Brasil !"
   

- Advertisement -