• Also, to reduce errors and potential errors, don't code dates in an ambiguous format, i.e.,
    does '11/6/2010' represent Nov 6 or Jun 11??
    or waste space with formatting chars.  

    Instead, use YYYYMMDD format, like so:

    '20101106'

    SQL DBA,SQL Server MVP(07, 08, 09) A socialist is someone who will give you the shirt off *someone else's* back.