lexi0088
Technical User
- Sep 7, 2004
- 49
I am trying to delete some lines in a table, however I have to delete lines that would meet to criteria. Here's what I am doing:
select * from GL11110 where YEAR1 ='2004'and PERIODID ='12'
When I get this, I get the 3 lines that need to be deleted, so I say
delete from GL11110 where YEAR1 ='2004'and PERIODID ='12'
and then I get a message saying "View or function 'GL11110' is not updatable because the modification affects multiple base tables."
How can I delete using two sets of criteria? Or is there a way to delete just what you had selected. Otherwise it would delete more lines than it should.
Please help, thank you
select * from GL11110 where YEAR1 ='2004'and PERIODID ='12'
When I get this, I get the 3 lines that need to be deleted, so I say
delete from GL11110 where YEAR1 ='2004'and PERIODID ='12'
and then I get a message saying "View or function 'GL11110' is not updatable because the modification affects multiple base tables."
How can I delete using two sets of criteria? Or is there a way to delete just what you had selected. Otherwise it would delete more lines than it should.
Please help, thank you