Click here to Skip to main content
15,925,250 members
Home / Discussions / Database
   

Database

 
GeneralSQL equivalent of Access Memo feild Pin
Ray Cassick15-Oct-02 2:19
Ray Cassick15-Oct-02 2:19 
GeneralRe: SQL equivalent of Access Memo feild Pin
Paul Watson15-Oct-02 3:17
sitebuilderPaul Watson15-Oct-02 3:17 
GeneralRe: SQL equivalent of Access Memo feild Pin
Jon Hulatt15-Oct-02 3:59
Jon Hulatt15-Oct-02 3:59 
GeneralRe: SQL equivalent of Access Memo feild Pin
Paul Watson15-Oct-02 4:51
sitebuilderPaul Watson15-Oct-02 4:51 
GeneralRe: SQL equivalent of Access Memo feild Pin
Jon Hulatt15-Oct-02 5:07
Jon Hulatt15-Oct-02 5:07 
GeneralRe: SQL equivalent of Access Memo feild Pin
Ray Cassick15-Oct-02 4:35
Ray Cassick15-Oct-02 4:35 
GeneralRe: SQL equivalent of Access Memo feild Pin
Paul Watson15-Oct-02 4:57
sitebuilderPaul Watson15-Oct-02 4:57 
GeneralRe: SQL equivalent of Access Memo feild Pin
Jon Hulatt15-Oct-02 5:12
Jon Hulatt15-Oct-02 5:12 
FYI, text is indeed a reference field. It is 16 bytes in size, because the data is stored outside of a row.

The net result of this is that:- conditions involving text fields are slower than a varchar would be, and many of the T-SQL functions cannot operate on text.

SQL Server supports max row size of 8192 (IIRC) bytes, and after some internal overhead this leaves 8060 (IIRC) bytes for user columns. Varchars max size is 8000 bytes. So you could not have two varchar(8000) columns in one table.

Incidentally, in your original post, you mention nvarchar. nvarchar is simply a wide character version of varchar, and as such takes twice the storage space of a varchar, thus explaining the max size of 4000 characters.

hope that clears some stuff up.

Signature space for rent. Apply by email to....
GeneralRe: SQL equivalent of Access Memo feild Pin
William Forney15-Oct-02 6:25
William Forney15-Oct-02 6:25 
GeneralRe: SQL equivalent of Access Memo feild Pin
Jon Hulatt15-Oct-02 6:35
Jon Hulatt15-Oct-02 6:35 
GeneralCase Sensitive Comparison Method Pin
Kerry Chou14-Oct-02 16:07
Kerry Chou14-Oct-02 16:07 
GeneralRe: Case Sensitive Comparison Method Pin
Jon Hulatt14-Oct-02 22:03
Jon Hulatt14-Oct-02 22:03 
GeneralRe: Case Sensitive Comparison Method Pin
Rein Hillmann14-Oct-02 22:37
Rein Hillmann14-Oct-02 22:37 
QuestionFast Insert ? Pin
ssirisha14-Oct-02 9:00
ssirisha14-Oct-02 9:00 
AnswerRe: Fast Insert ? Pin
Daniel Turini15-Oct-02 1:53
Daniel Turini15-Oct-02 1:53 
GeneralRe: Fast Insert ? Pin
Morten Abrahamsen22-Oct-02 2:19
Morten Abrahamsen22-Oct-02 2:19 
AnswerRe: Fast Insert ? Pin
Pavel Klocek16-Oct-02 8:21
Pavel Klocek16-Oct-02 8:21 
GeneralAccess Setting Options Programactically Pin
Hyien14-Oct-02 5:16
Hyien14-Oct-02 5:16 
QuestionHow to Convert object that selected from SQL Sever to a DataTime? Pin
14-Oct-02 2:25
suss14-Oct-02 2:25 
AnswerRe: How to Convert object that selected from SQL Sever to a DataTime? Pin
Nick Parker14-Oct-02 2:31
protectorNick Parker14-Oct-02 2:31 
GeneralSqlDataReader : I need to assign retrieved value to C++ variable Pin
Doug13-Oct-02 13:27
Doug13-Oct-02 13:27 
GeneralRe: SqlDataReader : I need to assign retrieved value to C++ variable Pin
Nick Parker14-Oct-02 2:37
protectorNick Parker14-Oct-02 2:37 
GeneralRe: SqlDataReader : I need to assign retrieved value to C++ variable Pin
Doug15-Oct-02 12:15
Doug15-Oct-02 12:15 
GeneralRe: SqlDataReader : I need to assign retrieved value to C++ variable Pin
Nick Parker15-Oct-02 16:38
protectorNick Parker15-Oct-02 16:38 
GeneralRe: SqlDataReader : I need to assign retrieved value to C++ variable Pin
Doug16-Oct-02 12:47
Doug16-Oct-02 12:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.