About 244,000 results
Open links in new tab
  1. smalldatetime (Transact-SQL) - SQL Server | Microsoft Learn

    This section describes what occurs when a smalldatetime data type is converted to other date and time data types. For a conversion to date, the year, month, and day are copied. The following …

  2. sql server - Convert varchar column to smalldatetime - Stack Overflow

    If you don't want implicit conversion to smalldatetime, you should use CONVERT and the argument style. dd.MM.yyyy format correspond to style 104. For example : SELECT …

  3. Convert ‘smalldatetime’ to ‘datetime’ in SQL Server (T-SQL

    This article contains examples of converting a smalldatetime value to a datetime value in SQL Server. The smalldatetime data type doesn’t have any fractional seconds, and its seconds …

  4. SMALLDATETIMESQL Tutorial

    The SMALLDATETIME data type in SQL Server is used to store date and time values but with a limited range and precision. It provides a compact way to store date and time information …

  5. Converting Getdate to smalldateSQLServerCentral Forums

    Aug 31, 2016 · select convert(datetime, convert(varchar, getdate(), 110)) select cast(getdate() as smalldatetime)

  6. Convert ‘smalldatetime’ to ‘date’ in SQL Server (T-SQL Examples)

    Jul 17, 2019 · This article contains examples of converting a smalldatetime value to a date value in SQL Server. One of the benefits of converting a smalldatetime value to date is that you …

  7. Convert a SQL Server datetime to a shorter date format

    Oct 27, 2010 · In addition to CAST and CONVERT, if you are using Sql Server 2008, you can convert to a date type (or use that type to start with), and then optionally convert again to a …

  8. sql server - SmallDateTime to DateTime Conversion Equality

    Apr 19, 2017 · Look at the the SQL Server Data Type Conversion Chart. Smalldatetime uses 4 bytes of space compare to datetime uses 8 bytes. Both are fixed length. From books online: …

  9. SMALLDATETIMEFROMPARTS (Transact-SQL) - SQL Server

    Sep 3, 2024 · Returns a smalldatetime value for the specified date and time. Transact-SQL syntax conventions. Integer expression specifying a year. Integer expression specifying a month. …

  10. SQL server v17 : how to convert smalldatetime value to datetime

    Jan 26, 2013 · How to convert smalldatetime formatted date to datetime format whereas column type is datetime. Example: For Numeric date 41298 it resulted into 1911-04-21 00:00:00 but …

  11. Some results have been removed
Refresh