Click here to Skip to main content
12,448,192 members (51,535 online)
   

Database

 
GeneralRe: Missing Data in an Access Report Pin
jschell7-Feb-13 9:52
memberjschell7-Feb-13 9:52 
AnswerRe: Missing Data in an Access Report Pin
Mycroft Holmes6-Feb-13 12:27
memberMycroft Holmes6-Feb-13 12:27 
GeneralRe: Missing Data in an Access Report Pin
Vuyiswa Maseko6-Feb-13 19:06
memberVuyiswa Maseko6-Feb-13 19:06 
GeneralRe: Missing Data in an Access Report Pin
Mycroft Holmes6-Feb-13 20:27
memberMycroft Holmes6-Feb-13 20:27 
GeneralRe: Missing Data in an Access Report Pin
Vuyiswa Maseko6-Feb-13 20:32
memberVuyiswa Maseko6-Feb-13 20:32 
GeneralRe: Missing Data in an Access Report Pin
jschell7-Feb-13 9:56
memberjschell7-Feb-13 9:56 
Questionoracle error with winserver2008 Pin
fares35-Feb-13 1:03
memberfares35-Feb-13 1:03 
AnswerRe: oracle error with winserver2008 Pin
Bernhard Hiller5-Feb-13 4:57
memberBernhard Hiller5-Feb-13 4:57 
Questionchar(255) vs varchar(255) vs varchar(MAX) Pin
devvvy1-Feb-13 18:22
memberdevvvy1-Feb-13 18:22 
AnswerRe: char(255) vs varchar(255) vs varchar(MAX) Pin
Richard MacCutchan1-Feb-13 23:07
mvpRichard MacCutchan1-Feb-13 23:07 
GeneralRe: char(255) vs varchar(255) vs varchar(MAX) Pin
devvvy2-Feb-13 15:39
memberdevvvy2-Feb-13 15:39 
AnswerRe: char(255) vs varchar(255) vs varchar(MAX) Pin
PIEBALDconsult2-Feb-13 5:22
memberPIEBALDconsult2-Feb-13 5:22 
GeneralRe: char(255) vs varchar(255) vs varchar(MAX) Pin
devvvy2-Feb-13 23:30
memberdevvvy2-Feb-13 23:30 
GeneralRe: char(255) vs varchar(255) vs varchar(MAX) Pin
jschell3-Feb-13 6:36
memberjschell3-Feb-13 6:36 
devvvy wrote:
I think it's the opposite. CHAR don't store trailing termination char (2 bytes for SQL), varchar does


Not sure what that statement means.

The 'char' data type is fixed length. That means that there will ALWAYS be 255 characters. And the way normal APIs to databases handle that is that they pad shorter lengths with spaces. Pretty sure that is an ANSI requirement as well.

devvvy wrote:
that's why you should always use VARCHAR(n) as supposed to VARCHAR(MAX)


Unless of course you know that you will be storing data larger than the largest integer value allowed for varchar(n).

devvvy wrote:
CHAR(n) when lenght same for all/most rows.


In normal database design most columns will be varchar because
1. User data is almost always variable
2. Application data that is text almost always has a variable length.
QuestionSP Unexpected Behavior Pin
eddieangel1-Feb-13 7:19
membereddieangel1-Feb-13 7:19 
QuestionEncrypt a field in the database. Pin
vanikanc1-Feb-13 5:31
membervanikanc1-Feb-13 5:31 
AnswerRe: Encrypt a field in the database. Pin
Eddy Vluggen1-Feb-13 7:02
mvpEddy Vluggen1-Feb-13 7:02 
Questioncheck before insert Pin
vanikanc31-Jan-13 4:55
membervanikanc31-Jan-13 4:55 
AnswerRe: check before insert Pin
Eddy Vluggen31-Jan-13 5:00
mvpEddy Vluggen31-Jan-13 5:00 
GeneralRe: check before insert Pin
Eddy Vluggen31-Jan-13 10:35
mvpEddy Vluggen31-Jan-13 10:35 
AnswerRe: check before insert Pin
mark merrens31-Jan-13 8:10
membermark merrens31-Jan-13 8:10 
GeneralRe: check before insert Pin
vanikanc31-Jan-13 8:21
membervanikanc31-Jan-13 8:21 
GeneralRe: check before insert Pin
mark merrens31-Jan-13 10:09
membermark merrens31-Jan-13 10:09 
GeneralRe: check before insert Pin
Chris Meech31-Jan-13 10:24
memberChris Meech31-Jan-13 10:24 
GeneralRe: check before insert Pin
mark merrens31-Jan-13 10:25
membermark merrens31-Jan-13 10:25 
AnswerRe: check before insert Pin
djj551-Feb-13 7:50
memberdjj551-Feb-13 7:50 
GeneralRe: check before insert Pin
vanikanc1-Feb-13 7:55
membervanikanc1-Feb-13 7:55 
GeneralRe: check before insert Pin
djj551-Feb-13 8:25
memberdjj551-Feb-13 8:25 
QuestionIdentify DML changes between two databases Pin
Member 313707830-Jan-13 20:56
memberMember 313707830-Jan-13 20:56 
AnswerRe: Identify DML changes between two databases Pin
Mycroft Holmes30-Jan-13 21:11
memberMycroft Holmes30-Jan-13 21:11 
GeneralRe: Identify DML changes between two databases Pin
Member 313707830-Jan-13 21:26
memberMember 313707830-Jan-13 21:26 
QuestionUpdate a flag based on portion of data avialble in other column Pin
yuvachandra30-Jan-13 10:20
memberyuvachandra30-Jan-13 10:20 
AnswerRe: Update a flag based on portion of data avialble in other column Pin
Mycroft Holmes30-Jan-13 11:56
memberMycroft Holmes30-Jan-13 11:56 
GeneralRe: Update a flag based on portion of data avialble in other column Pin
yuvachandra31-Jan-13 6:08
memberyuvachandra31-Jan-13 6:08 
GeneralRe: Update a flag based on portion of data avialble in other column Pin
Mycroft Holmes31-Jan-13 11:32
memberMycroft Holmes31-Jan-13 11:32 
GeneralRe: Update a flag based on portion of data avialble in other column Pin
yuvachandra31-Jan-13 11:45
memberyuvachandra31-Jan-13 11:45 
GeneralRe: Update a flag based on portion of data avialble in other column Pin
yuvachandra1-Feb-13 7:00
memberyuvachandra1-Feb-13 7:00 
Questionhow to comlex databinding with access database Pin
Achilles8430-Jan-13 8:48
memberAchilles8430-Jan-13 8:48 
AnswerRe: how to comlex databinding with access database Pin
Mycroft Holmes30-Jan-13 11:49
memberMycroft Holmes30-Jan-13 11:49 
GeneralRe: how to comlex databinding with access database Pin
Achilles8430-Jan-13 20:49
memberAchilles8430-Jan-13 20:49 
GeneralRe: how to comlex databinding with access database Pin
Mycroft Holmes30-Jan-13 21:06
memberMycroft Holmes30-Jan-13 21:06 
GeneralRe: how to comlex databinding with access database Pin
Achilles841-Feb-13 0:25
memberAchilles841-Feb-13 0:25 
QuestionEnd Case in a Variable Pin
berba30-Jan-13 8:47
memberberba30-Jan-13 8:47 
AnswerRe: End Case in a Variable Pin
Mycroft Holmes30-Jan-13 11:46
memberMycroft Holmes30-Jan-13 11:46 
GeneralRe: End Case in a Variable Pin
berba30-Jan-13 18:02
memberberba30-Jan-13 18:02 
GeneralRe: End Case in a Variable Pin
Mycroft Holmes30-Jan-13 20:57
memberMycroft Holmes30-Jan-13 20:57 
QuestionWhat happens with auto-incremented value on rollback? Pin
piticcotoc29-Jan-13 23:27
memberpiticcotoc29-Jan-13 23:27 
AnswerRe: What happens with auto-incremented value on rollback? Pin
Jörgen Andersson30-Jan-13 1:04
memberJörgen Andersson30-Jan-13 1:04 
GeneralRe: What happens with auto-incremented value on rollback? Pin
piticcotoc30-Jan-13 3:02
memberpiticcotoc30-Jan-13 3:02 
GeneralRe: What happens with auto-incremented value on rollback? Pin
mark merrens30-Jan-13 5:33
membermark merrens30-Jan-13 5:33 

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
Web02 | 2.8.160811.3 | Last Updated 25 Aug 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid