Found some strange code. [moved]
-
Here's a strange code which I found while maintaining :doh: Convert(varchar, Select Convert(varchar,getdate(),106),106) Do anyone have idea why this is written like this? Actually it is used in a stor_proc where this phrase is used for comparing two dates. Do you think is it going to make any difference when we don't convert it again?
Believe Yourself™ :-\™
modified on Monday, August 31, 2009 12:40 PM
-
Here's a strange code which I found while maintaining :doh: Convert(varchar, Select Convert(varchar,getdate(),106),106) Do anyone have idea why this is written like this? Actually it is used in a stor_proc where this phrase is used for comparing two dates. Do you think is it going to make any difference when we don't convert it again?
Believe Yourself™ :-\™
modified on Monday, August 31, 2009 12:40 PM
Wrong forum; try "general database".