I have read the document already but i do not fully understand The default precision is datetime2(7) is 7 represent the precision of nanosecond?
相关问题
- SQL to Parse a Key-Value String
- How to evaluate an input in the WHERE clause
- employee id automatic generate with prefix
- update user details, sql server 2008 sqlsrv
- Calculating the 95th Percentile value?
相关文章
- Code for inserting data into SQL Server database u
- SQL Server 2008 Change Data Capture, who made the
- How do we alias a Sql Server instance name used in
- How to do a UNION on a single table?
- SQL Group by Count of Counts
- SQL Server drop and recreate indexes of a table
- How to generate sequential row number in tsql?
- Pass table as parameter to SQLCLR TV-UDF
No, the number represents the number of digits preserved after the decimal point for the seconds. 3 would be millisecond, 6 microsecond and 7 equivalent to a precision of 100 nanoseconds.
The resolution of the default precision (7)
datetime2
type is 100 nanoseconds.An excellent reference for things date/time is : The ultimate guide to the datetime datatypes