Geek Articles

Categories

 

Subscribe

Daily Updates Subscribe geekarticles update via email Subscribe geekarticles update via RSS

 
GeekArticles XML RSS

Transact-SQL RFC822 DateTime UDF

Author: eggheadcafe.com | Published: 10th Aug 2005 | Visited: 1064 times | Add Comment
Filed in: RSS

Printer Friendly Version Have you ever wanted to generate RSS from a Stored procedure? It's easy, until you get to the RFC822 date requirement! Believe it or not, I could not find this anywhere-- I actually had to cobble it together from pieces myself. Enjoy: IF OBJECT_ID('[dbo].[fnRFC822Date]', 'FN') IS NOT NULL DROP FUNCTION [dbo].[fnRFC822Date] GO CREATE FUNCTION [dbo].[fnRFC822Date] ( @Date datetime ) RETURNS nvarchar(70) AS BEGIN DECLARE @display nvarchar(70) SET @display =...n

Read Article
 

Sponsored Links

 


Related Articles

 Rounding a DateTime object to a defined number of minutes A simple two line function to round a DateTime up, down, or to a nearest defined number of minu ...

 DAL Class and Transact-SQL generator for C# and VB.Net Automatically generates required class and stored procedure to work with sql datab ...

 DAL Class and Transact-SQL generator for C#.Net Automatically generates required class and stored procedure to work with sql datab ...

 The Baker's Dozen: 13 Productivity Tips for Transact-SQL 2005 SQL Server 2005 offers T-SQL language features that can improve your productiv ...

 Formats for DateTime.ToString() Formats for DateTime.ToStri ...

 Incorrect datetime stamp on some feeds on welcome page QC#: 47071 Version: 11.0 Status: Open defect, requires resolution Description: Just a silly thing: When using Select Newsfeed -> Codegear Developer Network -> Delphi from the welcome screen, all date stamps below the article summaries are exactly one ...

 Excel 2007 Week Numbering Systems and DateTime Implementations Learn about the four different week-numbering systems available in Microsoft Office Excel and how to use them. Also learn why it is important to implement the date and time representation of the ISO8601:2000 standard in your Excel applicatio ...

 Persian DateTime A structure like System.DateTime which is designed to support Persian cale ...

 DateTime Values according to the remote time zone Shows how to define timezone of the remote user and display date time values according to remote time z ...

 TClientDataSet.Locate failed to locate DateTime field when ShortDateFormat <> Default Locale Setting QC#: 8237 Version: 7.0 Status: Resolved defect, requires verification Resolution: Need more information/demo/steps Description: We can set the date time format in Control Panel | Regional setting. If the country we choose is English (United States), ...



Next: LazyWeb and RSS: Given Enough Eyeballs, Are Features Shallow Too?



Post Comment

Name:


Email:
 (Optional. Used for Notification)

Title:

 
Comment:


Validation Code:
 <=>  (Enter this code in text box)





Latest Articles

 

Popular Articles

Sponsored Links