943,779 Members | Top Members by Rank

Ad:
Sep 26th, 2007
0

What sql data type to use

Expand Post »
Hi

I've used Access to model a new database that now needs to be created in SQL Server Express.

Wow - that's alot of data types!

Can someone tell me what the SQL version of the Access Memo data type is?

Thanks
_________________
Parental control software free parental control software
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
SIDE is offline Offline
3 posts
since Sep 2007
Sep 26th, 2007
0

Re: What sql data type to use

Prior to Sql Server 2005 it would have been text or nText (the n prefix is for unicode data as opposed to ASCII data) as varchar is limited to approx 8000 chars (the max length of a row allowed and if you use it all for one varchar column you got no space left for anymore) Text fields require a little extra work in your Sql statements though

If you mean Sql Server 2005 Express then your options are better
varchar(max) (non-unicode ASCII chars only)
nvarchar(max) (Unicode chars)
text
nText

I recommend varchar or nvarchar. If your data is all in plain english (no special chracter sets) then varchar(max) is your baby
Reputation Points: 262
Solved Threads: 68
Veteran Poster
hollystyles is offline Offline
1,181 posts
since Feb 2005
Aug 28th, 2008
0

Re: What sql data type to use

Does this answer apply to data types in MS SQL Server 7, also?

I'm coming from the world of MS Access and memo data type.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
dlacloche is offline Offline
15 posts
since Aug 2008
Sep 4th, 2008
0

Re: What sql data type to use

Yep.
Reputation Points: 262
Solved Threads: 68
Veteran Poster
hollystyles is offline Offline
1,181 posts
since Feb 2005

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Database Design Forum Timeline: Database design for file upload solution
Next Thread in Database Design Forum Timeline: Using .exe files on web sites as on own computer





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC