|
sql
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
store procedure
Hi
I want to create a stored procedure. I have 2 tables called orders and orderdetail.Now i want to move orders from these tables in to new tables called orders2 and orderdetail2.Perticularly those orders which r there more than 60 day(means those orders which r 60 day old ,,to new tables) and removing them from older tables(first tables) that is orders and orderdetails.Please help me this is urgency. Can you post tables definition?
AMB Show quoteHide quote "gurvinder gill via SQLMonster.com" wrote: > Hi > I want to create a stored procedure. > I have 2 tables called orders and orderdetail.Now i want to move orders > from these tables in to new tables called orders2 and > orderdetail2.Perticularly those orders which r there more than 60 day(means > those orders which r 60 day old ,,to new tables) and removing them from > older tables(first tables) that is orders and orderdetails.Please help me > this is urgency. >
Other interesting topics
StoredProc Help...
The server encountered a stack overflow during compile time. Hyperthreading: Negative impact on performance? Database Maintenance Plan Grief Combine 3 Queries into One HOW CAN I LINK TWO SQL SERVER Question on the evacuate of the datafile open table Question on Hardware failover of the MS SQL Server 2000 DB synonyms in SQL server 2000 |
|||||||||||||||||||||||