About 243,000 results
Open links in new tab
  1. Change Date Format (DD/MM/YYYY) in SQL SELECT Statement

    Jul 22, 2016 · Check the configuration of the SQL client you are using. The display format is applied by the application displaying the values

  2. t sql - How to format datetime in SQL SERVER - Stack Overflow

    See the Date and Time Styles section of CAST and CONVERT (Transact-SQL) for all of the built-in formatting styles. I would keep in mind that unless you have a good reason for it, I mean a …

  3. sql server - How to get a date in YYYY-MM-DD format from a …

    Feb 22, 2017 · How do I retrieve a date from SQL Server in YYYY-MM-DD format? I need this to work with SQL Server 2000 and up. Is there a simple way to perform this in SQL Server or …

  4. Convert Date format into DD/MMM/YYYY format in SQL Server

    Jun 25, 2013 · I have a query in SQL, I have to get a date in a format of dd/mm/yy Example: 25/jun/2013. How can I convert it for SQL server?

  5. 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. If all you want is a way to show a user a string that has no time …

  6. database - SQL Server date format yyyymmdd - Stack Overflow

    Dec 28, 2016 · Actual date / datetime -valued columns don't have a format. Do you mean to say you have columns which contain textual representations of dates in char / varchar columns?

  7. Custom Date/Time formatting in SQL Server - Stack Overflow

    Please refer to "SQL Server", not "SQL", because different databases have different way to format dates.

  8. How do I query for all dates greater than a certain date in SQL …

    where A.Date >= '2010-04-01' it will do the conversion for you, but in my opinion it is less readable than explicitly converting to a DateTime for the maintenance programmer that will come after you.

  9. sql - how to convert date to a format `mm/dd/yyyy` - Stack Overflow

    Sep 2, 2013 · This is correct with regard to converting to date first, but 111 is for yyyy/mm/dd, the OP already has the right style (101).

  10. Getting only Month and Year from SQL DATE - Stack Overflow

    Nov 23, 2009 · I need to access only Month.Year from Date field in SQL Server.