Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

string data type

Posted on 2011-03-04
4
Medium Priority
?
396 Views
Last Modified: 2012-05-11
i am using the string data type, and wanted to see how long of characters can it hold.. but http://msdn.microsoft.com/en-us/library/ms714540%28v=vs.85%29.aspx
does not mention that data type? am i looking in the wrong place or is it a newer version? (i am using 2000)

thanks
0
Comment
Question by:anushahanna
4 Comments
 
LVL 10

Assisted Solution

by:Michael Vasilevsky
Michael Vasilevsky earned 600 total points
ID: 35037512
0
 
LVL 77

Accepted Solution

by:
peter57r earned 700 total points
ID: 35037653
But actually 2gb (:-)

I seem to recall that 64k might be the limit when entering data through the UI, but programmatically it can be as much data as will fit in the database file. (So a bit less than 2gb really)
0
 
LVL 18

Assisted Solution

by:jmoss111
jmoss111 earned 700 total points
ID: 35037659
The String data type is usually used as a variable-length type of variable. A variable-length string can contain up to approximately 2 billion characters. Each character has a value ranging from 0 to 255 based on the ASCII character set. Strings are used when Text is involved.
0
 
LVL 6

Author Comment

by:anushahanna
ID: 35041477
thanks for confirming.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question