Click here to Skip to main content
15,913,939 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
which data type stroes unlimited data in sql
Posted
Comments
Prasad_Kulkarni 27-Apr-12 5:28am    
what type of data you want to store?? and i don't think there's any datatype which stores unlimited data, there's limit for everything/ every datatype.
Pradhan Gagan 27-Apr-12 5:31am    
text data i want to store

This is what I found regarding this data type on msdn

ntext
Variable-length Unicode data with a maximum length of 2^30 - 1 (1,073,741,823) characters. Storage size, in bytes, is two times the number of characters entered. The ISO synonym for ntext is national text.

text
Variable-length non-Unicode data in the code page of the server and with a maximum length of 2^31-1 (2,147,483,647) characters. When the server code page uses double-byte characters, the storage is still 2,147,483,647 bytes. Depending on the character string, the storage size may be less than 2,147,483,647 bytes.

For more you can check following threads:
ntext, text, and image[^]
char and varchar[^]

Hope it helps.
 
Share this answer
 
The limit is 2gb. To overcome this you can use the filestream feature. The filesystem used must (of course) not be FAT32 because you would then reintroduce this limit. check out this link: http://msdn.microsoft.com/en-us/library/cc949109%28v=sql.100%29.aspx[^]

Good luck!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900