Reply to Re: Sum of Column of Blob type

Your name:

Reply:


Posted by Connie on 04/11/07 19:09

On Apr 10, 4:46 pm, "Plamen Ratchev" <Pla...@SQLStudio.com> wrote:
> "Erland Sommarskog" <esq...@sommarskog.se> wrote in message
>
> news:Xns990F2D6DACA2Yazorman@127.0.0.1...
>
>
>
> > you don't say whether you tried this, but I can see that it will fail
> > with integer overflow. Howeever this should work:
>
> > SELECT SUM(cast(datalength(document) as bigint)) FROM plan_report
>
> Good catch Erland! I didn't see the big number and the overflow...
>
> Plamen Ratchevhttp://www.SQLStudio.com

Thanks everyone.......your all awesome, Yes Erland I did try the
first option, but I did not try with the bigint.....I was looking at
it too long and getting frustrated I guess, but thanks again everyone,

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация