What sql data type to use

Thread Solved

Join Date: Sep 2007
Posts: 3
Reputation: SIDE is an unknown quantity at this point 
Solved Threads: 0
SIDE SIDE is offline Offline
Newbie Poster

What sql data type to use

 
0
  #1
Sep 26th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 1,181
Reputation: hollystyles will become famous soon enough hollystyles will become famous soon enough 
Solved Threads: 67
hollystyles's Avatar
hollystyles hollystyles is offline Offline
Veteran Poster

Re: What sql data type to use

 
0
  #2
Sep 26th, 2007
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
==========================================
Yadda yadda yadda...
Web junky, fevered monkey
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 15
Reputation: dlacloche is an unknown quantity at this point 
Solved Threads: 1
dlacloche's Avatar
dlacloche dlacloche is offline Offline
Newbie Poster

Re: What sql data type to use

 
0
  #3
Aug 28th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 1,181
Reputation: hollystyles will become famous soon enough hollystyles will become famous soon enough 
Solved Threads: 67
hollystyles's Avatar
hollystyles hollystyles is offline Offline
Veteran Poster

Re: What sql data type to use

 
0
  #4
Sep 4th, 2008
Yep.
==========================================
Yadda yadda yadda...
Web junky, fevered monkey
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC