Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Delete from Table

Hi,

Can you please tell how to define the structure for "delete from dbtable;" without any conditions, which means without any key elements.

I tried without any key-elements, but it throws me a runtime exception "sax parse error". After that I tried using the whole DB table fields, but they should not be empty. But I cannot even pass values. So, how can I do that??.

Thanks in advance,

Raj.

Former Member
replied

Hi,

i got it wrong first time. you dont have to specify access as long as you are specifying the key. since u wnat to delete all the enteries in ur table, simply base ur delete on the condition that the key is not equal to zero.

include the comparision operation and test it.

cheers,

naveen

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question