| | |
What sql data type to use
Please support our Database Design advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Sep 2007
Posts: 3
Reputation:
Solved Threads: 0
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
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
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

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
![]() |
Similar Threads
- DATETIME data type arithmenic in SQL Server 2005 (MS SQL)
- Working with SQL server's Image data type (ASP.NET)
- MS SQL data type length (MS SQL)
- Problems with changing values returned by RegQueryValueEx (C)
- help on data type conversion (Visual Basic 4 / 5 / 6)
- Help With Data-type Declaration Symbols (Pascal and Delphi)
- Working with SQL's Text data type (ASP.NET)
- Text data type troubles in T-SQL (Database Design)
Other Threads in the Database Design Forum
- Previous Thread: Database design for file upload solution
- Next Thread: Using .exe files on web sites as on own computer
| Thread Tools | Search this Thread |






