SQL Server Central is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
Search:  
 
 

Content with tag Datetime Manipulation Rss

Refine your search with one of the following additional tags (with number of items):

SQL Server 2008 (3)     scalar-valued function (1)    
T-SQL (3)     Scalar-valued Functions (1)    
Advanced Querying (1)     User-defined function (1)    
   Items 1 to 9 of 9   
 

fn_getDateAway - Calculates a date based upon arguments specified

Calculates a past or future date based upon supplied parameters. Returns a datetime  Read more...
By Jeff Luckett 2008/03/24 | Source: SQLServerCentral.com | Category: Datetime Manipulation
Rating: |  Discuss |  Briefcase | 673 reads

SQL Server 2008 New DATETIME DataTypes

This article is going to cover the newly introduced data types in SQL Server 2008 July CTP, and will specifically discuss the DATETIME functions.  Read more...
Rating:  Rate this |  Briefcase | 2,997 reads

Generating Missing Dates and Numbers

Finding missing data in a sequence of numbers or dates is a common request of DBAs. Regular author Jacob Sebastian brings us a new article that shows just how you can do this.  Read more...
By Jacob Sebastian 2008/02/06 | Category: Datetime Manipulation
Rating: |  Discuss |  Briefcase | 5,731 reads

Different Date Formats

You Can Find Some Date Functions and extracting the different Date Formats using the Convert and Cast  Read more...
By Vinuraj R 2008/02/01 | Source: SQLServerCentral.com | Category: Datetime Manipulation
Rating: |  Discuss |  Briefcase | 1,075 reads

Calculating the Number of Business Hours Passed Since a Point of Time

A set of user defined functions used to calculate the number of business or working hours (excluding the non working hours) that have passed since a certain point of time.  Read more...
Rating: |  Discuss |  Briefcase | 593 reads

New datetime datatypes in SQL Server 2008

Older versions of SQL Server had only one datatype to store both the date and time values. In SQL Server 2008, Microsoft introduces a set of new datatypes that store date and time individually, and both date and time together.  Read more...
By Additional Articles 2008/01/21 | Source: Database Journal | Category: SQL Server 2008
Rating:  Rate this |  Briefcase | 1,919 reads

Using the DATE data type in SQL Server 2008

In SQL Server 2008 we get a new DATE date type that allows you to store a date without a time.  Read more...
By Additional Articles 2007/12/18 | Source: SQLTeam.com | Category: Datetime Manipulation
Rating:  Rate this |  Briefcase | 2,077 reads

Payment due date function

Calculates the nth due date for any given date, while accounting for weekends.  Read more...
By Ralph Schwehr 2007/12/03 | Source: SQLServerCentral.com | Category: User-defined function
Rating: |  Discuss |  Briefcase | 1,092 reads

Working with Time Spans and Durations in SQL Server

What is the best way to return the "duration" of an event in SQL, given the start and end datetime values? How can we add up these durations to return grand totals? What data types should be used to return this data to our clients? How do we handle overflows, such as when hours go over 23 or minutes total up to over 59? Are there any T-SQL functions or other techniques that are useful in these scenarios?   Read more...
By Additional Articles 2007/10/24 | Source: SQLTeam.com | Category: T-SQL
Rating:  Rate this |  Briefcase | 2,606 reads
   Items 1 to 9 of 9