Microsoft
Software
Hardware
Network
Question : Sports timing 00:00:00:00 and sql data types
I need to store seconds and hundreths in mssql.
This is to record sports times.
I tried inputting based on my best guess 00:00:23:09 being 23 seconds and 09 hundreths of a second but obviously this doesnt work.
How should I go about doing this as I need to have time so I can rank the results.
Answer : Sports timing 00:00:00:00 and sql data types
assuming your 2 variables are of type varchar so that the .09 is stored as '09' in the @RoundTimeH variable then
convert(datetime,'00:00:'+
@RoundTime
S+'.'+@Rou
ndTimeH,14
)
should work, the & is a boolean operator in SQL.
Random Solutions
Photoshop CS4 - Batch zoom into 1:1 pixel ratio? Perference? For large images... zoom ratio
Pocket PC and Vista - Sync over the Internet
Making Access count the number of fields filled in.
Conect to citrix Metarframe Server thru mobile 3G and GPRS card
From an MS Access Form how do I open a web site then automaticly fill in the login and password box from data in my table?
Why is ACCESS DENIED in LsaOpenPolicy?
How to trap the error in datawindow itemchanged event and clicked event?
how can i execute a command as root
SQL to count distinct if a value appears more than 5 times
Limited users can not burn CD programatically