Solved

string data type

Posted on 2011-03-04
4
366 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 150 total points
ID: 35037512
0
 
LVL 77

Accepted Solution

by:
peter57r earned 175 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 175 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

685 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