Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Articles with tag date manipulation Rss

Search for any content tagged date manipulation

<< Previous 20    Items 21 to 33 of 33   
 

Tally Table - Character Date Validation

Tally (or numbers) tables are one of my favorite query writing tools.  Such a simple premise that can be applied...  Read more...
By Seth Phelabaum 2009/12/17 | Source: SQLServerCentral.com | Category: blogs
Rating: (not yet rated)  Rate this |   Briefcase | 2,121 reads

Formatted date in SQL Server 2008

Learn how to get most of the formats required by different countries and applications, using one common date function.  Read more...
By Additional Articles 2009/06/02 | Source: Database Journal | Category: date manipulation
Rating:  Rate this |   Briefcase | 3,388 reads

SQL Server user defined function to convert MSDB integer value to time value

In a recent tip I outlined a process for converting a date, stored as an integer into a datetime data type. Date and time information for run history of SQL Server Agent jobs is stored within the msdb..sysjobshistory table as an integer data type, not as a datetime as one would expect. As promised, this tip picks up where we left off. On converting the integer-typed run_time into a format that is more user friendly for presentation purposes.  Read more...
By Additional Articles 2009/05/20 | Source: MSSQLTips.com | Category: msdb
Rating: (not yet rated)  Rate this |   Briefcase | 1,858 reads

To Date or Not To Date….

OK….so I’m in the middle of a very interesting Effective Dating project…basically we’re dealing with some tables that only store current data, but there is a need for future-dated data as well. Because the base table can’t hold that data...  Read more...
By Sam Bendayan 2009/05/18 | Source: SQLServerCentral.com | Category: blogs
Rating: (not yet rated)  Rate this |   Briefcase | 2,192 reads

Comparison of Dates in SQL

This article discusses a common mistake while making date comparisons in T-SQL and its resolution. From new author Manish Sinha.  Read more...
By Manish Sinha 2009/04/28 | Source: SQLServerCentral.com | Category: t-sql
Rating: |  Discuss |   Briefcase | 15,269 reads

SQL Server UDF to convert integer date to datetime format

This short tip shows how you can convert an integer date, such as those stored in msdb to a real datetime value.  Read more...
By Additional Articles 2009/04/03 | Source: MSSQLTips.com | Category: date manipulation
Rating:  Rate this |   Briefcase | 2,826 reads

Date Dimensions Part 2

Continuing with his discussion of how to implement a date dimension in SQL Server Analysis services, expert warehousing expert Vincent Rainardi discusses how to use this dimension as a reference dimension as well as other advanced topics.  Read more...
Rating: |  Discuss |   Briefcase | 10,825 reads

Useful Dates: The Many Uses of Date Tables

Brandon Galderisi brings us a new article that looks at how a table of dates can be useful in a SQL Server application.  Read more...
By Brandon Galderisi 2008/12/17 | Source: SQLServerCentral.com | Category: date manipulation
Rating: |  Discuss |   Briefcase | 11,461 reads

Compare Dates in an iterative manner for a particular set of records

Compare Dates in an iterative manner for a particular set of records in a single query using SQL Server 2000  Read more...
By Divya Agrawal 2008/11/12 | Source: SQLServerCentral.com | Category: t-sql
Rating: |  Discuss |   Briefcase | 3,670 reads

Compare Dates

The following article shows how to compare dates in an iterative manner for a particular set of records in a single query  Read more...
By Additional Articles 2008/10/27 | Source: SQL Server Performance | Category: t-sql
Rating:  Rate this |   Briefcase | 4,853 reads

Two methods for converting T-SQL date/time values

Learn two built-in functions for SQL Server data conversion from T-SQL date/time values to character types. These methods include SQL Server CAST and CONVERT.  Read more...
By Additional Articles 2008/09/01 | Source: SearchSQLServer | Category: t-sql
Rating:  Rate this |   Briefcase | 7,059 reads

Basics for working with DATETIME and SMALLDATETIME

Learn how data is stored within DATETIME and SMALLDATETIME and get an overview of the TIMESTAMP data type -- as it's often confused with these two primary date/time data types.  Read more...
By Additional Articles 2008/08/15 | Source: SearchSQLServer | Category: date manipulation
Rating:  Rate this |   Briefcase | 5,564 reads

Missing Date Ranges- the Sequel

Alex Kozak returns with another Date puzzle. A question from a Simple-Talk reader gives Alex the inspiration to see if is possible to list unused date ranges in one Select statement.  Read more...
By Additional Articles 2008/07/03 | Source: SimpleTalk | Category: t-sql
Rating:  Rate this |   Briefcase | 2,730 reads
<< Previous 20    Items 21 to 33 of 33