Click here to Skip to main content
12,699,367 members (33,330 online)
   

Database

 
AnswerRe: Missing Data in an Access Report Pin
Mycroft Holmes6-Feb-13 13:27
memberMycroft Holmes6-Feb-13 13:27 
GeneralRe: Missing Data in an Access Report Pin
Vuyiswa Maseko6-Feb-13 20:06
memberVuyiswa Maseko6-Feb-13 20:06 
GeneralRe: Missing Data in an Access Report Pin
Mycroft Holmes6-Feb-13 21:27
memberMycroft Holmes6-Feb-13 21:27 
GeneralRe: Missing Data in an Access Report Pin
Vuyiswa Maseko6-Feb-13 21:32
memberVuyiswa Maseko6-Feb-13 21:32 
GeneralRe: Missing Data in an Access Report Pin
jschell7-Feb-13 10:56
memberjschell7-Feb-13 10:56 
Questionoracle error with winserver2008 Pin
fares35-Feb-13 2:03
memberfares35-Feb-13 2:03 
AnswerRe: oracle error with winserver2008 Pin
Bernhard Hiller5-Feb-13 5:57
memberBernhard Hiller5-Feb-13 5:57 
Questionchar(255) vs varchar(255) vs varchar(MAX) Pin
devvvy1-Feb-13 19:22
memberdevvvy1-Feb-13 19:22 
I guess, the question is, why would I use

char(255)

instead of

varchar(255)

When I specify varchar(255), does SQL sever allocate [255] per cell? or does it allocate dynamically? If it statically allocate [255] bytes, then I don't see if there's much practical difference between char(255) and varchar(255) -- well, except varchar always store a one (or two) byte termination character internally.

If SQL server allocates 255 bytes when i specify varchar(255), then what about varchar(MAX)?

Thanks
dev

AnswerRe: char(255) vs varchar(255) vs varchar(MAX) Pin
Richard MacCutchan2-Feb-13 0:07
mvpRichard MacCutchan2-Feb-13 0:07 
GeneralRe: char(255) vs varchar(255) vs varchar(MAX) Pin
devvvy2-Feb-13 16:39
memberdevvvy2-Feb-13 16:39 
AnswerRe: char(255) vs varchar(255) vs varchar(MAX) Pin
PIEBALDconsult2-Feb-13 6:22
memberPIEBALDconsult2-Feb-13 6:22 
GeneralRe: char(255) vs varchar(255) vs varchar(MAX) Pin
devvvy3-Feb-13 0:30
memberdevvvy3-Feb-13 0:30 
GeneralRe: char(255) vs varchar(255) vs varchar(MAX) Pin
jschell3-Feb-13 7:36
memberjschell3-Feb-13 7:36 
QuestionSP Unexpected Behavior Pin
eddieangel1-Feb-13 8:19
membereddieangel1-Feb-13 8:19 
QuestionEncrypt a field in the database. Pin
vanikanc1-Feb-13 6:31
membervanikanc1-Feb-13 6:31 
AnswerRe: Encrypt a field in the database. Pin
Eddy Vluggen1-Feb-13 8:02
mvpEddy Vluggen1-Feb-13 8:02 
Questioncheck before insert Pin
vanikanc31-Jan-13 5:55
membervanikanc31-Jan-13 5:55 
AnswerRe: check before insert Pin
Eddy Vluggen31-Jan-13 6:00
mvpEddy Vluggen31-Jan-13 6:00 
GeneralRe: check before insert Pin
Eddy Vluggen31-Jan-13 11:35
mvpEddy Vluggen31-Jan-13 11:35 
AnswerRe: check before insert Pin
mark merrens31-Jan-13 9:10
membermark merrens31-Jan-13 9:10 
GeneralRe: check before insert Pin
vanikanc31-Jan-13 9:21
membervanikanc31-Jan-13 9:21 
GeneralRe: check before insert Pin
mark merrens31-Jan-13 11:09
membermark merrens31-Jan-13 11:09 
GeneralRe: check before insert Pin
Chris Meech31-Jan-13 11:24
memberChris Meech31-Jan-13 11:24 
GeneralRe: check before insert Pin
mark merrens31-Jan-13 11:25
membermark merrens31-Jan-13 11:25 
AnswerRe: check before insert Pin
djj551-Feb-13 8:50
memberdjj551-Feb-13 8:50 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.170118.1 | Last Updated 20 Jan 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid