About 764,000 results
Open links in new tab
  1. sql server - How to add days to the current date? - Stack Overflow

    I am trying to add days to the current date and it's working fine but when I add 360 days to the current date it gives me wrong value. eg: Current Date is 11/04/2014 And I am adding 360 …

  2. How to add time to DateTime in SQL - Stack Overflow

    Jul 3, 2013 · You can also replace the GETDATE() with a variable containing the date in which you want to add the time and the '01:01:01.01' with a variable containing the time you want to …

  3. t sql - How do I add a “last modified” and "created" column in a …

    Jul 26, 2015 · I'm design a new db schema for a SQL Server 2012 database. Each table should get two extra columns called modified and created which should be automatically change as …

  4. How to add date and time in SQL Server - Stack Overflow

    Jul 17, 2015 · I have two variables @date of type datetime and @time of type time. I want to add both to get another datetime variable. And I want to perform further calculations on it. Ex: …

  5. oracle11g - Add days Oracle SQL - Stack Overflow

    SELECT ORDER_NUM, CUSTOMER_NUM, CUSTOMER_NAME, ADD_DAYS (ORDER_DATE, 20) FROM CUSTOMER, ORDERS; Oracle Express says ADD_DAYS invalid? Any ideas what …

  6. sql - MySQL add days to a date - Stack Overflow

    Thanks for including this alternative means of adding days to a date field. I'd been looking for a way to increment a date using a stored procedure argument containing the number of days. …

  7. SQL query to insert datetime in SQL Server - Stack Overflow

    I want to insert a datetime value into a table (SQL Server) using the SQL query below

  8. Concatenate String + date in SQL Server - Stack Overflow

    4 If you're using SQL Server 2012 or newer, then you can use FORMAT to change a date or datetime into a varchar with the format of your liking.

  9. sql - Get the week start date and week end date from week …

    196 You can find the day of week and do a date add on days to get the start and end dates..

  10. Add business days to date in SQL without loops - Stack Overflow

    Mar 29, 2011 · I currently have a function in my SQL database that adds a certain amount of business days to a date, e.g. if you enter a date that is a Thursday and add two days, it will …