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.
| Author |
Topic |
|
jamie_pattison
Yak Posting Veteran
65 Posts |
Posted - 2010-08-16 : 09:52:19
|
| Does anyone know what the equivalent type for a .Net type of TimeSpan is for SQL? I tried Datetime and SmallDatetime which seemed to have caused some issues.In short im trying to save a TimeSpan value to my Sql database.Thanks |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2010-08-16 : 10:00:02
|
| you map it to Time datatype in sql 2008 and onwards___________________________________________________________________________Causing trouble since 1980Blog: http://weblogs.sqlteam.com/mladenpSpeed up SSMS development: www.ssmstoolspack.com <- version 1.8 out!SQL Server MVP |
 |
|
|
jamie_pattison
Yak Posting Veteran
65 Posts |
Posted - 2010-08-16 : 10:04:12
|
| I dont see a "Time" datatype under the design view of my database?Edit: I just noticed why. Im using SQL 2008 management tools but the database was created in SQL 2005....So any recommendations for 2005? |
 |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
|
|
|
|
|