You are here: Re: how much bytes needed in sql server « MsSQL Server « IT news, forums, messages
Re: how much bytes needed in sql server

Posted by Erland Sommarskog on 06/13/07 22:08

visu (k.visube@gmail.com) writes:
> Hi i want to know how much bytes will sql server take to store a
> single alphabet like "a".

If you use varchar, that's one byte. If you use nvarchar, it's two bytes.

> i need to know similarly for all data types
> (including images).here i am doing a application where i need to
> predict the amount of space required in sql server to store the user
> fed dynamic data.

Look up the "Data types" in Books Online. With this as a starting point,
you should be able to find the storeage consumption fo every data type.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

 

Navigation:

[Reply to this 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

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