Click here to Skip to main content
15,887,676 members
Home / Discussions / Database
   

Database

 
GeneralRe: Using IFs in T-SQL select statement Pin
Wendelius15-Oct-08 17:53
mentorWendelius15-Oct-08 17:53 
GeneralRe: Using IFs in T-SQL select statement Pin
redivider16-Oct-08 6:33
redivider16-Oct-08 6:33 
GeneralRe: Using IFs in T-SQL select statement Pin
Wendelius16-Oct-08 8:49
mentorWendelius16-Oct-08 8:49 
Questionanyone can explain 24 x 7 databases and 8 x 5 databases? Pin
alexyxj15-Oct-08 8:55
alexyxj15-Oct-08 8:55 
AnswerRe: anyone can explain 24 x 7 databases and 8 x 5 databases? Pin
Wendelius15-Oct-08 9:03
mentorWendelius15-Oct-08 9:03 
JokeRe: anyone can explain 24 x 7 databases and 8 x 5 databases? Pin
nelsonpaixao15-Oct-08 13:43
nelsonpaixao15-Oct-08 13:43 
QuestionRedundant Data? Pin
jesus.online15-Oct-08 3:52
jesus.online15-Oct-08 3:52 
AnswerRe: Redundant Data? Pin
Ashfield15-Oct-08 5:14
Ashfield15-Oct-08 5:14 
The "proper" way would be to have a price table with an id and a to and from date and log the cd id, price id (and sale date) to a sales table.

eg

Prices Table

ID Price From To
1 14.99 1 jan 2008 30 jun 2008
2 15.99 1 jul 2008 null (indicates current price)

CD Table

CD_ID Title
102 The best of...
103 The Worst of..

Sales Table

CD_ID Price_ID Sale Date
102 1 14 may 2008
102 1 17 Jun 2008
103 1 10 Jan 2008
102 2 14 aug 2008


Hope this helps

Bob
Ashfield Consultants Ltd

GeneralRe: Redundant Data? Pin
J4amieC15-Oct-08 5:21
J4amieC15-Oct-08 5:21 
GeneralRe: Redundant Data? Pin
Ashfield15-Oct-08 8:32
Ashfield15-Oct-08 8:32 
AnswerRe: Redundant Data? Pin
J4amieC15-Oct-08 5:20
J4amieC15-Oct-08 5:20 
GeneralRe: Redundant Data? Pin
Wendelius15-Oct-08 8:51
mentorWendelius15-Oct-08 8:51 
GeneralRe: Redundant Data? Pin
J4amieC16-Oct-08 1:44
J4amieC16-Oct-08 1:44 
GeneralRe: Redundant Data? Pin
Wendelius16-Oct-08 8:43
mentorWendelius16-Oct-08 8:43 
AnswerRe: Redundant Data? Pin
jesus.online15-Oct-08 5:45
jesus.online15-Oct-08 5:45 
QuestionHow to Drop a Table with Dependencies Pin
Vimalsoft(Pty) Ltd15-Oct-08 1:39
professionalVimalsoft(Pty) Ltd15-Oct-08 1:39 
AnswerRe: How to Drop a Table with Dependencies Pin
Paddy Boyd15-Oct-08 1:56
Paddy Boyd15-Oct-08 1:56 
GeneralRe: How to Drop a Table with Dependencies Pin
Vimalsoft(Pty) Ltd15-Oct-08 20:12
professionalVimalsoft(Pty) Ltd15-Oct-08 20:12 
AnswerRe: How to Drop a Table with Dependencies Pin
Mycroft Holmes15-Oct-08 16:44
professionalMycroft Holmes15-Oct-08 16:44 
GeneralRe: How to Drop a Table with Dependencies Pin
Vimalsoft(Pty) Ltd15-Oct-08 20:13
professionalVimalsoft(Pty) Ltd15-Oct-08 20:13 
QuestionProblem with FULL OUTER JOIN Pin
dlarkin7715-Oct-08 0:42
dlarkin7715-Oct-08 0:42 
AnswerRe: Problem with FULL OUTER JOIN Pin
Syed Mehroz Alam15-Oct-08 1:43
Syed Mehroz Alam15-Oct-08 1:43 
GeneralRe: Problem with FULL OUTER JOIN Pin
dlarkin7715-Oct-08 1:51
dlarkin7715-Oct-08 1:51 
GeneralRe: Problem with FULL OUTER JOIN Pin
Syed Mehroz Alam15-Oct-08 2:07
Syed Mehroz Alam15-Oct-08 2:07 
QuestionProblem with group column Pin
eyeseetee15-Oct-08 0:01
eyeseetee15-Oct-08 0: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.