September 22, 2005 at 2:15 pm
Be careful though ... the majority of this post used 'imlpicit' conversions. Experience has taught that 'implicit' (like 'default') can get you into trouble when you least expect it. Just because SQL is a higher level language does not mean we have to forget about basic data type compatibilities, converting to the same type or casting.
RegardsRudy KomacsarSenior Database Administrator"Ave Caesar! - Morituri te salutamus."
September 22, 2005 at 2:40 pm
Good point... I'll try to see to it .
September 22, 2005 at 3:13 pm
Guys, this is 7th grade math, not SQL specific.
September 22, 2005 at 11:52 pm
.0 forces real calculation.
If you need float precision type .00000.
And finally, use variables. Do you actually remember what they told you on programmers courses?
_____________
Code for TallyGenerator
October 14, 2005 at 1:50 pm
October 14, 2005 at 1:50 pm
Viewing 6 posts - 16 through 20 (of 20 total)
You must be logged in to reply to this topic. Login to reply