About 17 results
Open links in new tab
  1. Getting the date of 7 days based on GETDATE ()

    Aug 19, 2018 · I am trying to create a dataset whereby I feed in GetDate () and I get back the date of the current 7 days. The tricky part is that no matter what date I geed in, I want the date of …

  2. Expression to round datetime hour value up on hour in SSIS

    Jan 11, 2010 · I am looking for the correct expression to use in SSIS Derived Column Transformation Editor to round the hour part of a datetime up eg. 12:01-12:59 to 13:00, 23:01 …

  3. Datepart (to get 2 digit number for the month)

    Apr 28, 2008 · The only way I can get the single digit month to write out as a 2 digit month is by doing a LEN () function on the string and if it is a length 1, then concatenate a "0" in front of it. I …

  4. SQL query to get week number for a date

    Aug 21, 2016 · I need to fetch the week number for a particular date in SQL. I am able to achieve that using below query. DATEPART ( wk, (CONVERT (datetime,left (Date,8),112)))

  5. Convert the date in dd-mm-yyyy format in excel to mm-dd-yyyy …

    Mar 25, 2013 · I have an ssis package which reads an excel file. This excel has a date column in the format " dd-mm-yyyy ". But when i try to insert into the sql server table, it saves it in the …

  6. Comment eviter le changement du format date lors de l'extraction

    C'est un peu long, mais cela fonctionne. Il faut "remettre" la date dans l'ordre voulu en la décomposant et en la recomposant. Comme ceci : an = datepart (DateInterval.Year, ladate) …

  7. Week of quarter - social.msdn.microsoft.com

    Mar 12, 2019 · Can someone please point me to a script that is a time dimension which has "week of quarter" in it.

  8. How to manually set x and y axis for ajax LineChart

    Oct 8, 2021 · string query = string.Format ("SELECT DATEADD (dd, 7- (DATEPART (dw, min (Start_Date))), min (Start_Date)) as EndOfWeek, " + "'Compliance %' = CONVERT (decimal …

  9. Duvida sql server com data e variaveis

    Jun 6, 2013 · Ai assim minha duvida é como faço a variavel interna DtInicial (setada como 01/01/2000) assumir o mes e ano da data que estou passando?

  10. SLA Calculation Help needed in Excluding Weekends and Off …

    Aug 3, 2017 · Everything is fine, except its taking a little time. Now i am facing a difficulty here.