About 52 results
Open links in new tab
  1. How to get Time from DateTime format in SQL? - Stack Overflow

    Feb 9, 2011 · I want to get only Time from DateTime column using SQL query using SQL Server 2005 and 2008 Default output:

  2. sql - How to cast the DateTime to Time - Stack Overflow

    May 4, 2015 · In this article published in 2000 the writer explains in depth how SQL Server treats dates and times. I doubt if anything significant changed between 2000 and 2015 in the way SQL Server …

  3. Measure the time it takes to execute a t-sql query

    Jul 26, 2012 · I have two t-sql queries using SqlServer 2005. How can I measure how long it takes for each one to run? Using my stopwatch doesn't cut it.

  4. SQL-Server Time data type - Stack Overflow

    Dec 10, 2015 · From what i've read so far, the data type time in sql server (starting with 2008) should be able to store the time in a HH:MM format. Then I tried this myself with the following simple exercise: c...

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

    Jul 3, 2013 · I'm trying to add custom time to datetime in SQL Server 2008 R2. Following is what I've tried.

  6. sql - Convert Datetime column from UTC to local time in select ...

    Nov 7, 2011 · 321 I'm doing a few SQL select queries and would like to convert my UTC datetime column into local time to be displayed as local time in my query results. Note, I am NOT looking to do …

  7. Splitting Date into 2 Columns (Date + Time) in SQL

    Splitting Date into 2 Columns (Date + Time) in SQL Ask Question Asked 12 years, 9 months ago Modified 1 year, 4 months ago

  8. SQL Server Management Studio, how to get execution time down to ...

    set statistics time on -- your query set statistics time off That will have the output looking something like this in your Messages window: SQL Server Execution Times: CPU time = 6 ms, elapsed time = 6 ms.

  9. sql - Check the time on datetime columns but ignore the date - Stack ...

    Feb 27, 2013 · Check the time on datetime columns but ignore the date Asked 13 years, 1 month ago Modified 10 months ago Viewed 27k times

  10. 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