Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Content with tag
Datetime Manipulation
Items 1 to 18 of 18
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...
By
Mazharuddin Ehsan
0001/01/01
|
Source:
SQLServerCentral.com
|
Category:
scalar-valued functions
Rating:
|
Discuss
|
Briefcase
|
2,133 reads
Financial Month
This Script will return the respective financial month(Starts from April to March) for a calander month Input(Starts from January to April), May use for many Consolidated Financial Reports.
Read more...
By
Kartik M Kumar
2011/02/16
|
Source:
SQLServerCentral.com
|
Category:
datetime manipulation
Rating:
|
Discuss
|
Briefcase
|
1,261 reads
SQL Server 2008 T-SQL Enhancements Part - II
Continuing with his series on changes in SQL Server 2008, Arshad Ali takes a look at table enhancements and new data types.
Read more...
By
Arshad Ali
2010/03/12 (first published: 2009/07/27)
|
Source:
SQLServerCentral.com
|
Category:
sql server 2008
Rating:
|
Discuss
|
Briefcase
|
28,216 reads
Datetime precision
Read more...
By
Craig Outcalt
2009/11/30
|
Category:
datetime manipulation
Rating:
(not yet rated)
|
Discuss
|
Briefcase
|
3,291 reads
DateTime Trick
Read more...
By
Volkan Kuyucuoglu
2009/10/26
|
Category:
t-sql
Rating:
(not yet rated)
|
Discuss
|
Briefcase
|
4,373 reads
Nth occurrence of a weekday in a month and year
To find date at nth occurrence of a weekday in a month and year
Read more...
By
Rajneesh Kumar
2009/09/07
|
Source:
SQLServerCentral.com
|
Category:
nth occurrence of a weekday in a month and year
Rating:
|
Discuss
|
Briefcase
|
642 reads
SQL Server 2008 T-SQL Enhancements Part - II
Continuing with his series on changes in SQL Server 2008, Arshad Ali takes a look at table enhancements and new data types.
Read more...
By
Arshad Ali
2010/03/12 (first published: 2009/07/27)
|
Source:
SQLServerCentral.com
|
Category:
sql server 2008
Rating:
|
Discuss
|
Briefcase
|
28,216 reads
Temporal Datatypes in SQL Server
In the first of a series of articles on the tricks of tackling temporal data in SQL, Joe Celko discusses SQL's temporal data types and agonizes over the fact that, although there are ANSI/ISO Standards for temporal operations in SQL, every vendor has something different.
Read more...
By
Additional Articles
2008/12/31
|
Source:
SimpleTalk
|
Category:
datetime manipulation
Rating:
(not yet rated)
Rate this
|
Briefcase
|
733 reads
SQL Server Function to Determine a Leap Year
I need to write a function to determine if particular year is a leap year (i.e. February contains 29 days rather than 28 days). I know that there are various rules for calculating leap years. Is there an easy way to figure this out? Can you provide an example or two to validate various years?
Read more...
By
Additional Articles
2008/07/14
|
Source:
MSSQLTips.com
|
Category:
datetime manipulation
Rating:
Rate this
|
Briefcase
|
4,867 reads
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
|
905 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...
By
Additional Articles
2008/02/18
|
Source:
SQL Server Performance
|
Category:
datetime manipulation
Rating:
Rate this
|
Briefcase
|
3,800 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
|
7,889 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
|
2,174 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...
By
Mazharuddin Ehsan
0001/01/01
|
Source:
SQLServerCentral.com
|
Category:
scalar-valued functions
Rating:
|
Discuss
|
Briefcase
|
2,133 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
|
2,497 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
|
3,022 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 (udf)
Rating:
|
Discuss
|
Briefcase
|
1,816 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
|
3,518 reads
Items 1 to 18 of 18
Tags
t-sql
(6)
sql server 2008
(4)
scalar-valued functions
(2)
advanced querying
(1)
data types
(1)
nth occurrence of a weekday in a month and year
(1)
table valued parameters
(1)
user defined function (udf)
(1)
Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.