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

Database

 
QuestionHow to preserve databinding in a ToolStripDropDown? Pin
SSDiver211225-Mar-09 9:44
SSDiver211225-Mar-09 9:44 
QuestionHow to Upgrade Access databse to MSSQL2005? Pin
Sr...Frank25-Mar-09 1:14
Sr...Frank25-Mar-09 1:14 
AnswerRe: How to Upgrade Access databse to MSSQL2005? Pin
Eddy Vluggen25-Mar-09 5:26
professionalEddy Vluggen25-Mar-09 5:26 
QuestionExtremely slow SP execution in Asp.net Pin
totig25-Mar-09 0:47
totig25-Mar-09 0:47 
AnswerRe: Extremely slow SP execution in Asp.net Pin
totig25-Mar-09 1:14
totig25-Mar-09 1:14 
QuestionAudti triggers - How to get the user name into the audit table [modified] Pin
Simon P Stevens24-Mar-09 1:54
Simon P Stevens24-Mar-09 1:54 
AnswerRe: Audti triggers - How to get the user name into the audit table Pin
Pete O'Hanlon24-Mar-09 2:15
mvePete O'Hanlon24-Mar-09 2:15 
GeneralRe: Audti triggers - How to get the user name into the audit table Pin
Simon P Stevens24-Mar-09 2:35
Simon P Stevens24-Mar-09 2:35 
QuestionCalling oracle stored procedure for crystal report Pin
Girish48124-Mar-09 0:32
Girish48124-Mar-09 0:32 
QuestionHow to store an image in PostGresDB? Pin
sunilsb23-Mar-09 22:58
sunilsb23-Mar-09 22:58 
QuestionSome Oracle Question Pin
E_Gold23-Mar-09 8:26
E_Gold23-Mar-09 8:26 
AnswerRe: Some Oracle Question Pin
scottgp23-Mar-09 10:20
professionalscottgp23-Mar-09 10:20 
GeneralRe: Some Oracle Question Pin
E_Gold23-Mar-09 10:51
E_Gold23-Mar-09 10:51 
GeneralRe: Some Oracle Question Pin
scottgp23-Mar-09 15:21
professionalscottgp23-Mar-09 15:21 
Questionwhat is mean by transaction in database? Pin
Ali_10023-Mar-09 7:04
Ali_10023-Mar-09 7:04 
Answertransaction as defined in Wikipedia Pin
David Mujica23-Mar-09 7:54
David Mujica23-Mar-09 7:54 
GeneralRe: transaction as defined in Wikipedia Pin
Ali_10023-Mar-09 10:26
Ali_10023-Mar-09 10:26 
GeneralROLLBACK Pin
David Mujica23-Mar-09 11:00
David Mujica23-Mar-09 11:00 
QuestionItem Stock detail using sale and purchase table [modified] Pin
adeelidrees23-Mar-09 2:36
adeelidrees23-Mar-09 2:36 
Hi dear,

This is my first post and want help from some one.

My question is below:

I have five tables with fields named below:

- purchase (*purchase_id, purchase_date, company_id)
- purchase-detail (purchase_id, qty, product_id, unit_id)
- sale (*sale_id, sale_date)
- sale-detail (sale_id, qty, company_id, product_id, unit_id))

Note - * represents primary key

(company_id, product_id, unit_id) makes one item.

I am creating a crystal report using vb.net 2008 and I have to create specific Item detail, in which date it is sold out , in which date it is purchased.

I have created crystal report 4 columns below in which data will be placed

Date(sale/purchase) | Purchase Quantity | Sale Quantity | Rem. Quantity
23/03/09                     | 300                          |                         | 300
24/03/09                     |                                 | 100                  | 200
25/03/09                     | 100                          | 200                  | 100


The above format will be used with different possibilities like above.

I have different and same dates in sale and purchase tables with different quantities for same date .

Please help me to solve this question . I am unable to create the queries.

Many thanks in Advance

modified on Monday, March 23, 2009 8:53 AM

QuestionSqlDataReader Number of Rows Pin
Jasmine Pomelo23-Mar-09 2:05
Jasmine Pomelo23-Mar-09 2:05 
AnswerRe: SqlDataReader Number of Rows Pin
Eddy Vluggen23-Mar-09 2:20
professionalEddy Vluggen23-Mar-09 2:20 
GeneralRe: SqlDataReader Number of Rows Pin
Jasmine Pomelo23-Mar-09 2:28
Jasmine Pomelo23-Mar-09 2:28 
GeneralRe: SqlDataReader Number of Rows Pin
Eddy Vluggen23-Mar-09 2:55
professionalEddy Vluggen23-Mar-09 2:55 
GeneralRe: SqlDataReader Number of Rows Pin
Jasmine Pomelo23-Mar-09 3:10
Jasmine Pomelo23-Mar-09 3:10 
GeneralRe: SqlDataReader Number of Rows Pin
Pete O'Hanlon24-Mar-09 2:20
mvePete O'Hanlon24-Mar-09 2:20 

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.