About 8,850 results
Open links in new tab
  1. Combine DATE and TIME to DATETIME2 in SQL Server

    Mar 10, 2011 · This method converts both the DATE and TIME values to strings, concatenates them using the old "+" method of concatenation, and then converts that combined string to a …

  2. Convert Date to Julian Date – SQLServerCentral Forums

    Nov 27, 2017 · SQL Server dates can be cast as decimals, with the integer portion as days since 1900-01-01 00:00. The Julian date is also a decimal value of days since a base date.

  3. Convert datetime to bigint - SQLServerCentral Forums

    Dec 3, 2014 · The original poster's code creates a human-readable date/time in a bigint format. For example, if you run the poster's code you'll get a value like 20141222133915, which you …

  4. Convert string MMDDYYYY to a date - SQLServerCentral

    Dec 20, 2018 · This does not convert in SSIS directly to a date, it will fail converting or casting directly as a date. Here is the 2 ways I found to convert this data to a date: @dt (); SET @dt = …

  5. Julian date YYYYJJJ into YYYYMMDD - SQLServerCentral

    Mar 22, 2010 · Hello, I have a column of julian dates YYYYJJJ that I need to compare to a column of YYYYMMDD to find matches to update a field. Anyone know how I can do this? I am trying …

  6. Convert date to MMDDYYYY – SQLServerCentral Forums

    Feb 10, 2016 · Hi All, I need to export data out to a txt file with the date format of MMDDYYYY - the source date is a datetime (2015-09-01 00:00:00.000) format - below is the solution I have:

  7. Convert GETDATE() to NUMBER – SQLServerCentral Forums

    Dec 21, 2009 · SQL Server is going to return GetDate as a datetime - which includes the date and the time.

  8. Date conversion to CCYYMMDD – SQLServerCentral Forums

    Mar 8, 2006 · I'm new to T-SQL and waiting for some reference materials to arrive. Any good reference book suggestions would be greatly appreciated. convert (char …

  9. convert julian date to standard date format - SQLServerCentral

    Aug 27, 2009 · in my table there is clumn Jdate int In this column julian date is stored now i need to convert it into standard date. Can anyone help me please

  10. The Fastest Way to Combine DATE and TIME Data Types to a …

    Feb 13, 2009 · Recently while working with a table where there were two columns, one a DATE datatype and a second TIME datatype, I found that those needed to be combined into a single …