home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.ms-sqlserver      Notorious Rube Goldberg contraption      19,505 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 17,900 of 19,505   
   Lutz Uhlmann to All   
   Re: Arithmetic overflow error converting   
   31 Aug 10 15:21:24   
   
   9df7c0b7   
   From: news@invalid.invalid   
      
   > Thanks I changed it to decimal(18,1) and that seemed to work.  What do   
   > you mean by this...   
   >   
   > When you the decimal data type, you should always specify precision   
   > and   
   > scale explicitly, and not rely on defaults.   
      
   You already do this with (18,1)!   
   I think he did not read this in your first post because of   
      
    >> * 100) AS decimal   
    >> (6,   
    >> 1)) AS perc   
      
   Lutz   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca