Click here to Skip to main content
15,909,199 members
Home / Discussions / Database
   

Database

 
AnswerRe: How it is Better to Store Multiple Options Pin
PIEBALDconsult13-Jan-11 15:18
mvePIEBALDconsult13-Jan-11 15:18 
AnswerRe: How it is Better to Store Multiple Options Pin
Eddy Vluggen14-Jan-11 0:44
professionalEddy Vluggen14-Jan-11 0:44 
GeneralRe: How it is Better to Store Multiple Options Pin
Richard Andrew x6414-Jan-11 3:41
professionalRichard Andrew x6414-Jan-11 3:41 
Well, I'm writing a rules engine and it will go something like this:

Where subject A, B, C, and/or D

performs function A, B, C, and/or D

raise alert A, B, C, and/or D.


And each record in the database will represent one rule.

So the choices from A to D will be represented in code by flag enums.

And I'm wondering if it's better to store each of the choices as the int value of the enum, or as separate fields.
The difficult we do right away...
...the impossible takes slightly longer.

GeneralRe: How it is Better to Store Multiple Options Pin
Luc Pattyn14-Jan-11 3:50
sitebuilderLuc Pattyn14-Jan-11 3:50 
GeneralRe: How it is Better to Store Multiple Options Pin
jschell14-Jan-11 10:29
jschell14-Jan-11 10:29 
Questionmonth numbers in sql Pin
Thanusree Duth13-Jan-11 0:26
Thanusree Duth13-Jan-11 0:26 
AnswerRe: month numbers in sql Pin
Pete O'Hanlon13-Jan-11 0:57
mvePete O'Hanlon13-Jan-11 0:57 
AnswerRe: month numbers in sql Pin
PIEBALDconsult13-Jan-11 1:26
mvePIEBALDconsult13-Jan-11 1:26 
AnswerRe: month numbers in sql Pin
Corporal Agarn13-Jan-11 1:30
professionalCorporal Agarn13-Jan-11 1:30 
AnswerRe: month numbers in sql Pin
Luc Pattyn13-Jan-11 2:02
sitebuilderLuc Pattyn13-Jan-11 2:02 
AnswerRe: month numbers in sql Pin
RaviRanjanKr13-Jan-11 2:07
professionalRaviRanjanKr13-Jan-11 2:07 
QuestionDataType mismatch in criteria expression Access 2007 - VBA Pin
scorp_scorp11-Jan-11 23:21
scorp_scorp11-Jan-11 23:21 
AnswerRe: DataType mismatch in criteria expression Access 2007 - VBA Pin
Geoff Williams12-Jan-11 0:01
Geoff Williams12-Jan-11 0:01 
GeneralRe: DataType mismatch in criteria expression Access 2007 - VBA Pin
scorp_scorp12-Jan-11 21:25
scorp_scorp12-Jan-11 21:25 
QuestionDevelopment and production database servers Pin
vanikanc11-Jan-11 8:20
vanikanc11-Jan-11 8:20 
AnswerRe: Development and production database servers Pin
badprog11-Jan-11 8:33
badprog11-Jan-11 8:33 
AnswerRe: Development and production database servers Pin
Dr.Walt Fair, PE11-Jan-11 9:22
professionalDr.Walt Fair, PE11-Jan-11 9:22 
GeneralRe: Development and production database servers Pin
vanikanc11-Jan-11 9:27
vanikanc11-Jan-11 9:27 
GeneralRe: Development and production database servers Pin
Dr.Walt Fair, PE11-Jan-11 9:38
professionalDr.Walt Fair, PE11-Jan-11 9:38 
GeneralLogins are not Users Pin
David Mujica11-Jan-11 9:49
David Mujica11-Jan-11 9:49 
GeneralRe: Development and production database servers Pin
J4amieC12-Jan-11 0:04
J4amieC12-Jan-11 0:04 
AnswerRe: Development and production database servers Pin
jschell12-Jan-11 8:46
jschell12-Jan-11 8:46 
QuestionOracle 11g Continuous Query Notification to a vs 2005 c# service Pin
livez11-Jan-11 2:21
livez11-Jan-11 2:21 
AnswerRe: Oracle 11g Continuous Query Notification to a vs 2005 c# service Pin
sonosun9-Feb-11 13:42
sonosun9-Feb-11 13:42 
GeneralRe: Oracle 11g Continuous Query Notification to a vs 2005 c# service [modified] Pin
livez9-Feb-11 21:01
livez9-Feb-11 21:01 

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.