Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.
annamaria Starting Member
30 Posts
SwePeso Patron Saint of Lost Yaks
30421 Posts
DECLARE @num1 DECIMAL(14, 5), @num2 DECIMAL(14, 5)SELECT @num1 = 31.45, @num2 = 2.67SELECT CAST(@num1 AS DECIMAL(21, 16)) / CAST(@num2 AS DECIMAL(21, 16))
Jeff Moden Aged Yak Warrior
652 Posts
khtan In (Som, Ni, Yak)
17689 Posts
quote:Originally posted by Jeff ModenThe OP post "dec" for "decimal"... probably not using SQL Server...--Jeff Moden
quote:I use SQL for DB2
SQLTeam.com Articles via RSS
SQLTeam.com Weblog via RSS
- Advertisement -
Articles
Forums
Blogs
Contact Us
About the Site