SQL Server ed ALM su database


Il blog di Alessandro Alpi
Archivio Posts
Anno 2018

Anno 2017

Anno 2016

Anno 2015

Anno 2014

Anno 2013

Anno 2012

Anno 2011

Anno 2010

Anno 2009

Anno 2008

Anno 2007

Anno 2006

SQL Server e ROUND function (sembra si tratti di un BUG)

Andando in debug su di una stored procedure abbiamo trovato un simpatico errore di Arithmetic Overflow apparentemente ingiustificato..Provate questo script sul vostro Management Studio e, se sarete fortunati, il tutto andrà per il meglio. In caso contrario otterrete l'errore che da un'ora ci fa incavolare PRINT ROUND(0.1, 0) PRINT ROUND(0.6, 0) PRINT ROUND(1.0, 0) ------------------------------------------------------0.0Msg 8115, Level 16, State 2, Line 2Arithmetic overflow error con 
Leggi tutto il post...
Categoria: Transact-SQL
lunedì, 14 mar 2011 Ore. 16.45
Statistiche
  • Views Home Page: 585.861
  • Views Posts: 1.043.149
  • Views Gallerie: 610.304
  • n° Posts: 484
  • n° Commenti: 273



















Copyright © 2002-2007 - Blogs 2.0
dotNetHell.it | Home Page Blogs
ASP.NET 2.0 Windows 2003