Viewing 7 posts - 1 through 7 (of 7 total)
this looks good only for SQL 2008
To Bad it doesn't work with SQL 2005
June 21, 2011 at 12:25 pm
--With simple calculation we don't care about data-type (float or decimal)
--====================================
--When we start calculation like the following one, we should use decimal
-- Let's see example
--====================================
DECLARE @APR ??????? (18,3)
--------------------------------------
SET @APR=.074;
DECLARE @Months...
January 16, 2009 at 8:28 am
For any math calculation avoid FLOAT use Decimal you will get Write result.:D
December 30, 2008 at 3:28 pm
from original post
---------------------------------------------------------------------------------
"I have a table that details site information (for the service call industry). It contains bog standard fields like Address, phone number, email, etc.
I need to add...
July 26, 2007 at 11:44 am
to make PIVOT table in SQL 2005 it's needs got against one column that is why it's there.
If you don't need pivot View on the end then
the structure of Client_Missolenius...
July 26, 2007 at 11:38 am
Well this is classic situation, how you normalize relationship between tables that have many to many relationship. You need to have 3rd table "fork" one.
July 26, 2007 at 11:28 am
Another option in design use meta data style this is how it works
------------------------------------------------------------------
-- script created by Scott Tolstoy to show sample of Meta-data design table
-- with Pivot table view in...
July 26, 2007 at 10:38 am
Viewing 7 posts - 1 through 7 (of 7 total)