Home Forums Article Discussions Article Discussions by Author Discuss content posted by Matt Zakrzewski SQL CLR Data Types and Performance RE: SQL CLR Data Types and Performance
Kevin Rathgeber
SSC Veteran
Points: 270
More actions
July 21, 2010 at 1:12 pm
#1196442
I have a comment regarding your T-SQL
In trying to keep all things equal, Shouldn't you declare a variable at the beginning of your function to hold the value of PI() / 180 instead of calculating it 4 times.
That was the first item I noticed.