Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Help For Store Procedure

Author  Topic 

Braja
Starting Member

2 Posts

Posted - 2006-01-30 : 08:46:19
i have four table for order despatching, for order entry i have used order and orderdetail and for despaching i have used despach and despatchdetail. In despach have one relational field orderid. Now I want to write pending order detail through a store procedeure. i am giving you table detail.

In Order table fields are (Orderid , orderno , orderdt , partydetail)
In orderdetail table fields are (Orderid , prodid , prodqty)

In Despatch table fields are (despatchid , Orderid, despachno)
In orderdetail table fields are (despatchid , prodid , despqty)


Braja Behari Mitra Majumder

X002548
Not Just a Number

15586 Posts

Posted - 2006-01-30 : 09:31:01
Braja,

Please read the hint link in my sig below. I'll be able to dispatch a response to you very quickly if you do.



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam
Go to Top of Page

Braja
Starting Member

2 Posts

Posted - 2006-01-31 : 08:28:44
Please send solution immediately , i am very greatful to you

Braja Behari Mitra Majumder
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-01-31 : 08:31:53
Post some sample data and the result you want as specified here
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -