Click here to Skip to main content
15,902,938 members
Home / Discussions / Database
   

Database

 
GeneralRe: Is it possible to print a variable in stored procedure Pin
vanikanc12-Feb-13 8:19
vanikanc12-Feb-13 8:19 
QuestionVisual Studio 2005 Access 2010 Database Pin
Member 98194707-Feb-13 12:06
Member 98194707-Feb-13 12:06 
AnswerRe: Visual Studio 2005 Access 2010 Database Pin
Mycroft Holmes7-Feb-13 13:45
professionalMycroft Holmes7-Feb-13 13:45 
QuestionSimulate transaction: non blocking insert / update Pin
Bob Stanneveld7-Feb-13 11:12
Bob Stanneveld7-Feb-13 11:12 
AnswerRe: Simulate transaction: non blocking insert / update Pin
Mycroft Holmes7-Feb-13 13:44
professionalMycroft Holmes7-Feb-13 13:44 
QuestionPropagating a MySQL transaction with MSMQ II Pin
Ger Hayden6-Feb-13 8:08
Ger Hayden6-Feb-13 8:08 
QuestionMissing Data in an Access Report Pin
Vimalsoft(Pty) Ltd6-Feb-13 3:03
professionalVimalsoft(Pty) Ltd6-Feb-13 3:03 
AnswerRe: Missing Data in an Access Report Pin
jschell6-Feb-13 8:11
jschell6-Feb-13 8:11 
GeneralRe: Missing Data in an Access Report Pin
Vimalsoft(Pty) Ltd6-Feb-13 19:01
professionalVimalsoft(Pty) Ltd6-Feb-13 19:01 
GeneralRe: Missing Data in an Access Report Pin
jschell7-Feb-13 9:52
jschell7-Feb-13 9:52 
AnswerRe: Missing Data in an Access Report Pin
Mycroft Holmes6-Feb-13 12:27
professionalMycroft Holmes6-Feb-13 12:27 
GeneralRe: Missing Data in an Access Report Pin
Vimalsoft(Pty) Ltd6-Feb-13 19:06
professionalVimalsoft(Pty) Ltd6-Feb-13 19:06 
GeneralRe: Missing Data in an Access Report Pin
Mycroft Holmes6-Feb-13 20:27
professionalMycroft Holmes6-Feb-13 20:27 
GeneralRe: Missing Data in an Access Report Pin
Vimalsoft(Pty) Ltd6-Feb-13 20:32
professionalVimalsoft(Pty) Ltd6-Feb-13 20:32 
GeneralRe: Missing Data in an Access Report Pin
jschell7-Feb-13 9:56
jschell7-Feb-13 9:56 
Questionoracle error with winserver2008 Pin
fares35-Feb-13 1:03
fares35-Feb-13 1:03 
AnswerRe: oracle error with winserver2008 Pin
Bernhard Hiller5-Feb-13 4:57
Bernhard Hiller5-Feb-13 4:57 
Questionchar(255) vs varchar(255) vs varchar(MAX) Pin
devvvy1-Feb-13 18:22
devvvy1-Feb-13 18:22 
AnswerRe: char(255) vs varchar(255) vs varchar(MAX) Pin
Richard MacCutchan1-Feb-13 23:07
mveRichard MacCutchan1-Feb-13 23:07 
GeneralRe: char(255) vs varchar(255) vs varchar(MAX) Pin
devvvy2-Feb-13 15:39
devvvy2-Feb-13 15:39 
AnswerRe: char(255) vs varchar(255) vs varchar(MAX) Pin
PIEBALDconsult2-Feb-13 5:22
mvePIEBALDconsult2-Feb-13 5:22 
GeneralRe: char(255) vs varchar(255) vs varchar(MAX) Pin
devvvy2-Feb-13 23:30
devvvy2-Feb-13 23:30 
I think it's the opposite. CHAR don't store trailing termination char (2 bytes for SQL), varchar does.

I think I found the answer. With VARCHAR(MAX), you can't index the column and also you don't have length checks provided for you by default by database, that's why you should always use VARCHAR(n) as supposed to VARCHAR(MAX)

CHAR(n) when lenght same for all/most rows.
dev

GeneralRe: char(255) vs varchar(255) vs varchar(MAX) Pin
jschell3-Feb-13 6:36
jschell3-Feb-13 6:36 
QuestionSP Unexpected Behavior Pin
eddieangel1-Feb-13 7:19
eddieangel1-Feb-13 7:19 
QuestionEncrypt a field in the database. Pin
vanikanc1-Feb-13 5:31
vanikanc1-Feb-13 5:31 

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.