About 712,000 results
Open links in new tab
  1. SQL date and time data type - Stack Overflow

    Nov 14, 2011 · Yes there are date time specific data types for most SQL database implementations. Exact syntax depends on the RDMS vendor, but here are some examples …

  2. What difference between the DATE, TIME, DATETIME, and …

    But I don't know what should I use for type column im phpmyadmin. It should be noted that NOW() returns both time and date like this: 2014-11-11 12:45:34 Here is a solution, I can use …

  3. How to return only the Date from a SQL Server DateTime datatype

    Sep 22, 2008 · The datetime data type cannot have no time at all. I think you are confusing data storage with user presentation. I think you are confusing data storage with user presentation. If …

  4. sql - Convert Column from Date to Datetime - Stack Overflow

    Dec 8, 2011 · Sure you can convert this - but to do so, the visual designer in SQL Server Mgmt Studio will create your new table with DATETIME, copy over the data, and then drop the old …

  5. SQL - The conversion of a varchar data type to a datetime data …

    Dec 30, 2013 · "The conversion of a varchar data type to a datetime data type resulted in an out-of-range value". The problem was the default language of the db user. To check or change it …

  6. DateTime2 vs DateTime in SQL Server - Stack Overflow

    Aug 26, 2009 · Just so we're clear here the datetime and datetime2 data types were both introduced in SQL Server 2008. You also get Operand type clash: date is incompatible with int …

  7. sql - Difference between datetime and timestamp in sqlserver?

    Datetime is a datatype. Timestamp is a method for row versioning. In fact, in sql server 2008 this column type was renamed (i.e. timestamp is deprecated) to rowversion. It basically means that …

  8. SQL query to insert datetime in SQL Server - Stack Overflow

    Jun 18, 2012 · This is the only one that works for my (shared) SQL server. YYYY-MM-DDThh:mm:ss gives the correct mnth/date; but without the 'T' (YYYY-MM-DD hh:mm:ss) the …

  9. Convert varchar into datetime in SQL Server - Stack Overflow

    SQL Server can implicitly cast strings in the form of YYYYMMDD to a datetime - all other strings must be explicitly cast. Here are two quick code blocks which will do the conversion from the …

  10. SQL Server Convert Varchar to Datetime - Stack Overflow

    Jan 30, 2013 · As has been said, datetime has no format/string representational format. You can change the string output with some formatting. To convert your string to a datetime: declare …

Refresh