Click here to Skip to main content
15,891,136 members
Home / Discussions / Database
   

Database

 
AnswerRe: Permissions Pin
User 17164921-Jun-08 12:20
professionalUser 17164921-Jun-08 12:20 
GeneralRe: Permissions Pin
Mustafa Ismail Mustafa1-Jun-08 12:51
Mustafa Ismail Mustafa1-Jun-08 12:51 
QuestionUpdate+Increment else Insert Pin
Michael P. Scherer1-Jun-08 5:11
Michael P. Scherer1-Jun-08 5:11 
AnswerRe: Update+Increment else Insert Pin
Hesham Amin1-Jun-08 12:20
Hesham Amin1-Jun-08 12:20 
Questiondrop mergearticle Pin
am2h31-May-08 23:50
am2h31-May-08 23:50 
AnswerRe: drop mergearticle Pin
Alsvha1-Jun-08 0:33
Alsvha1-Jun-08 0:33 
QuestionRe: drop mergearticle Pin
am2h1-Jun-08 0:54
am2h1-Jun-08 0:54 
QuestionQuery for this pricing model Pin
ChrisFarrugia31-May-08 22:23
ChrisFarrugia31-May-08 22:23 
Dear All,

I am implementing a shopping where the prices of the products are structured according to the quantity taken

for examle:

1 = 1 Euro
3 = 0.80Euro
5 = 0.70 Euro
etc etc

The database is structured as follows:

quantity1 pricequantity1 quantity2 pricequantity2 quantity3 pricequantity3 etc

A quantity and pricequantity can be set to 0 if no further quantity groups exist.

I need a query where I pass a quantity and it gets the subtotal.

Can someone help please?

Thanks
Chris
AnswerRe: Query for this pricing model Pin
Christian Graus1-Jun-08 4:14
protectorChristian Graus1-Jun-08 4:14 
Questionerror 26 in visual studio 2005 (sql application) Pin
bapu288931-May-08 7:23
bapu288931-May-08 7:23 
Question{"Incorrect syntax near the keyword 'TRIGGER'."} Pin
Member 400849230-May-08 22:19
Member 400849230-May-08 22:19 
AnswerRe: {"Incorrect syntax near the keyword 'TRIGGER'."} Pin
Colin Angus Mackay31-May-08 7:20
Colin Angus Mackay31-May-08 7:20 
Questionrow sum ? Pin
Mr.Kode30-May-08 20:57
Mr.Kode30-May-08 20:57 
AnswerRe: row sum ? Pin
www.Developerof.NET30-May-08 22:13
www.Developerof.NET30-May-08 22:13 
QuestionGetDefaultConnect() in CRecordset? Pin
Le@rner30-May-08 19:31
Le@rner30-May-08 19:31 
AnswerCP NOTE Pin
leckey31-May-08 16:41
leckey31-May-08 16:41 
QuestionQuestion Regarding .Load() Pin
Jammer30-May-08 14:25
Jammer30-May-08 14:25 
QuestionUpdate Pin
Bassam Saoud30-May-08 9:41
Bassam Saoud30-May-08 9:41 
AnswerRe: Update Pin
Blue_Boy30-May-08 11:35
Blue_Boy30-May-08 11:35 
AnswerRe: Update Pin
Alsvha30-May-08 20:26
Alsvha30-May-08 20:26 
QuestionUpdate Triggers and recursion with multiple rows Pin
Steven J Jowett30-May-08 5:28
Steven J Jowett30-May-08 5:28 
AnswerRe: Update Triggers and recursion with multiple rows Pin
Rob Smiley30-May-08 13:01
Rob Smiley30-May-08 13:01 
GeneralRe: Update Triggers and recursion with multiple rows Pin
Steven J Jowett1-Jun-08 22:45
Steven J Jowett1-Jun-08 22:45 
AnswerRe: Update Triggers and recursion with multiple rows Pin
Mycroft Holmes31-May-08 2:31
professionalMycroft Holmes31-May-08 2:31 
GeneralRe: Update Triggers and recursion with multiple rows Pin
Steven J Jowett1-Jun-08 22:44
Steven J Jowett1-Jun-08 22:44 

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.