Click here to Skip to main content
15,899,008 members
Home / Discussions / Database
   

Database

 
GeneralRe: Many : Many Pin
lost in transition 22-Feb-07 11:34
lost in transition 22-Feb-07 11:34 
GeneralRe: Many : Many Pin
Colin Angus Mackay22-Feb-07 13:23
Colin Angus Mackay22-Feb-07 13:23 
AnswerRe: Many : Many Pin
Colin Angus Mackay22-Feb-07 13:20
Colin Angus Mackay22-Feb-07 13:20 
GeneralRe: Many : Many Pin
lost in transition 23-Feb-07 3:08
lost in transition 23-Feb-07 3:08 
AnswerRe: Many : Many Pin
Marcus J. Smith23-Feb-07 3:52
professionalMarcus J. Smith23-Feb-07 3:52 
QuestionGETDATE Pin
Sam Heller22-Feb-07 5:52
Sam Heller22-Feb-07 5:52 
AnswerRe: GETDATE Pin
Colin Angus Mackay22-Feb-07 5:59
Colin Angus Mackay22-Feb-07 5:59 
GeneralRe: GETDATE Pin
Sam Heller22-Feb-07 8:28
Sam Heller22-Feb-07 8:28 
GeneralRe: GETDATE Pin
Colin Angus Mackay22-Feb-07 11:31
Colin Angus Mackay22-Feb-07 11:31 
QuestionDynamic SQL Error Pin
Sam Heller22-Feb-07 5:08
Sam Heller22-Feb-07 5:08 
AnswerRe: Dynamic SQL Error Pin
Colin Angus Mackay22-Feb-07 5:24
Colin Angus Mackay22-Feb-07 5:24 
QuestionRe: Dynamic SQL Error Pin
andyharman22-Feb-07 5:28
professionalandyharman22-Feb-07 5:28 
AnswerRe: Dynamic SQL Error Pin
Sam Heller22-Feb-07 5:49
Sam Heller22-Feb-07 5:49 
GeneralRe: Dynamic SQL Error Pin
andyharman22-Feb-07 6:54
professionalandyharman22-Feb-07 6:54 
QuestionHow to update using cursors? Pin
devboycpp21-Feb-07 23:12
devboycpp21-Feb-07 23:12 
AnswerRe: How to update using cursors? Pin
andyharman22-Feb-07 1:11
professionalandyharman22-Feb-07 1:11 
QuestionSQL Server 2005 deployment Pin
mirano21-Feb-07 22:46
mirano21-Feb-07 22:46 
QuestionMulti-byte characters in MSDE Pin
ChandraRam21-Feb-07 22:10
ChandraRam21-Feb-07 22:10 
Questiontrim command on sql Pin
firestoper21-Feb-07 20:22
firestoper21-Feb-07 20:22 
AnswerRe: trim command on sql Pin
Harini N K21-Feb-07 21:23
Harini N K21-Feb-07 21:23 
GeneralRe: trim command on sql Pin
firestoper21-Feb-07 21:33
firestoper21-Feb-07 21:33 
GeneralRecord type - Literal vs bit Pin
Brady Kelly21-Feb-07 19:31
Brady Kelly21-Feb-07 19:31 
I have a table that stores two types of update records. At the moment I'm using a bit field to determine the update type, e.g. IsStatusUpdate. This value is 0 for comment updates and 1 for status updates. It has been bothering me recently that this could be made a char(1) field, with the more readable 'S' for status updates and 'C' for comment updates.

My only misgiving here though is the use of a literal value that is seemingly arbitrary to the user. With 'IsStatuUpdate bit, not null', I know I must store 1 for a status update. With 'UpdateType char(1), not null', I don't know that I must store 'S' for a status update. Any thoughts on this?



GeneralRe: Record type - Literal vs bit Pin
Hesham Amin22-Feb-07 10:17
Hesham Amin22-Feb-07 10:17 
QuestionADO.NET: DataRow + ForeignKey -> DataTable? Pin
peterchen21-Feb-07 10:48
peterchen21-Feb-07 10:48 
AnswerRe: ADO.NET: DataRow + ForeignKey -> DataTable? Pin
Mark J. Miller22-Feb-07 2:41
Mark J. Miller22-Feb-07 2:41 

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.