About 61,100 results
Open links in new tab
  1. How do I specify date literal when writing SQL query from SQL …

    Oct 20, 2015 · I have a SQL Server 12.0 database that is linked to an Oracle 12.1 database. I want to create a view in the SQL Server database that returns data from an Oracle table filtered by …

  2. SQL Error: ORA-01861: literal does not match format string 01861

    ORA-01861: literal does not match format string This happens because you have tried to enter a literal with a format string, but the length of the format string was not the same length as the …

  3. Comparing Dates in Oracle SQL - Stack Overflow

    Apr 16, 2012 · A date literal is part of the ANSI standard, which means you don't have to use an Oracle specific function. When using a literal you must specify your date in the format YYYY …

  4. sql - TSQL DATETIME ISO 8601 - Stack Overflow

    Jun 9, 2015 · 131 When dealing with dates in SQL Server, the ISO-8601 format is probably the best way to go, since it just works regardless of your language and culture settings. In order to …

  5. How does SQL Server compare a date to a string literal?

    Apr 16, 2013 · SQL Server converts the string literal you are passing ('1/1/1900') to a datetime value due to data type precedence (since datetime has higher precedence than string types).

  6. Specify character literal for date and time type in SQL Server

    Oct 26, 2016 · I understand that when specifying date and time literal, sql server can interpret the same literal differently according to the language setting. However, I was unable to clearly …

  7. sql server - Date literals in T-SQL - Stack Overflow

    Feb 5, 2017 · And how invalid date literals like 2017-02-05 are handled? SQL Server is presumably following the practice of garbage in, bargage out, which I can understand, but I hate "slient" …

  8. database - Access SQL Date Format - Stack Overflow

    Dec 16, 2011 · That said, it still a good idea to use an unambiguous date format and the ISO 8601 format is a good one. Also note that Access doesn't have a date data type: its sole temporal …

  9. oracle database - how to resolve Error :ORA-01861: literal does not …

    Apr 14, 2017 · ORA-01861: literal does not match format string This happens because you have tried to enter a literal with a format string, but the length of the format string was not the same …

  10. What is the syntax of a string literal in T-SQL?

    What is the full syntax of a string literal in T-SQL? I could not find any explicit definition of string syntax in the official documentation, and any blog post I could find only mentioned certain …