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
Offline Files - Using cached copies even when on network.
Create Relationship Fails
microsoft office access has encountered a problem and needs to close
Create Insert Trigger
A list of % % batch file commands that are used in Windows
How do I change the external OWA URL in Exchange 2007?
Typical Active Directory interview questions
Launching new Perl script -and- DoEvents?
Two instances of AutoSuggest? Is it possible?
Adding a modified sysprep.inf file to a Ghost image via Ghost Explorer not functioning properly