About 4,660,000 results
Open links in new tab
  1. Use TO_DATE in SQL Server 2012 - Stack Overflow

    Nov 9, 2011 · TO_DATE () isn't a valid function in SQL Server (T-SQL) The alternatives depend on what version of SQL Server you are using CAST () or CONVERT () may be used in any …

  2. TO_DATE function in ORACLE - Stack Overflow

    Jan 1, 2015 · 0 Oracle TO_DATE: is used to convert a character string to a date format. and related to your concern; you need to alter your session like below: alter session set …

  3. str_to_date function in sql server? - Stack Overflow

    MySQL has a function called STR_TO_DATE, that converts a string to date. Question: Is there a similar function in SQL Server?

  4. t sql - Sql Server string to date conversion - Stack Overflow

    Oct 16, 2008 · 10 For this problem the best solution I use is to have a CLR function in Sql Server 2005 that uses one of DateTime.Parse or ParseExact function to return the DateTime value …

  5. What exactly does TO_DATE return - Stack Overflow

    Dec 27, 2023 · I'm coming from SQL Server world, and I'm struggling a little with dates conversion in Oracle. I have a table with a DATE column. I'm trying to return rows from a contracts table …

  6. Convert date from String to Date format in Dataframes

    Nov 23, 2016 · I am trying to convert a column which is in String format to Date format using the to_date function but its returning Null values. df.createOrReplaceTempView ("incidents") …

  7. How to convert to_date () SQL Function to T-SQL? [duplicate]

    Jan 1, 2017 · I have a query for Oracle data which has TO_DATE('01-JAN-2017', 'DD-MON-YYYY') in it. I need to run the same query on SQL Server, but I am facing a problem since the …

  8. sql - Convert string to date in specific format - Stack Overflow

    Jan 8, 2014 · How do I convert a string to a date type in SQL Server 2008 R2? My string is formatted dd/mm/yyyy I tried this SELECT CAST('01/08/2014' AS DATE) But that does the …

  9. TO_CHAR and TO_DATE use and the right context to use them

    Aug 26, 2016 · Oracle tries to be flexible when interpreting the string when you do to_date(). When you do TO_DATE('26-AUG-2016', 'DD-MM-YYYY') you are supplying the month as a …

  10. sql - How I am able to use To_date function in oracle with date …

    Oct 6, 2020 · Oracle is doing something strange. @GordonLinoff Nothing strange there as the String-to-date conversion rules are working as expected, db<>fiddle Apart from the middle …