October 01, 2002 02:01 PM

Simplify, Parameterize, Reuse

Encapsulate your complex datetime expressions and reuse the code
Rating: (0)
SQL Server Magazine
InstantDoc ID #26538
User-defined scalar functions (scalar UDFs) are tools that can simplify access to real and contrived date and time data for the end user. In my September TSQL-Tutor article "Datetime for Durable Databases," InstantDoc ID 26170, I demonstrated how to put together a simple scalar UDF that you can use with datetime values. Now, let's look at the ways you can use UDFs to handle more complex date and time data. One opportunity for using a UDF arises when your data is a date and time value but it isn'...

...This article is for paid Professional Members only.

Already a Professional Member? Please log in now:

NOT A PROFESSIONAL MEMBER? YOU CHOOSE:

Professional Membership

Monthly

Annual

VIP Membership

Monthly

Annual

Add a Comment

Kimberly, Since I am the first to coment your article in more than 6 years, I don't want to be rude, but I really don't get the relevance of it. I mean, in my point of view this topic doesn't even deserve an article.

Regards.

Marcos3/13/2009 12:10:12 PM


You must log on before posting a comment.

Are you a new visitor? Register Here
GOOGLE LINKS
SPONSORED LINKS
FEATURED LINKS