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.
| Author |
Topic |
|
Vack
Aged Yak Warrior
530 Posts |
Posted - 2011-03-02 : 16:04:34
|
| I have a header(oeordhdr) table and detail(oeordlin) table. They are linked by ord_type and ord_no.Each record in the header should have at least one corresponding record in the oeordlin. What I want to do is delete any records in the oeordlin that do not have a corresponding record in the oeordhdr. deletefrom oeordlin_sql????? |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|
|