Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

unknown statement drop table

Hi guys,

when i compile the script this error is occurred.

For each vTable in $(list1)

  inner JOIN ([NewData.Name]) LOAD * RESIDENT [$(vTable)];

  let o=pick(wildmatch(vTable,'*NewData.Name*'),'1');

  if o <> 1

  then

  Drop Table $(vTable);

  End If

Next vTable

I have this error :

Unknown Statement  : then Drop Table NewData.Surname.

notice :

NewData.Surname is the table which i want to drop.

stalwar1

swuehl

1 Solution

Accepted Solutions
antoniotiman
Master III
Master III

Try this

if o <> 1  then

Drop Table $(vTable);

End If;

View solution in original post

2 Replies
antoniotiman
Master III
Master III

Try this

if o <> 1  then

Drop Table $(vTable);

End If;

Anonymous
Not applicable
Author

Thanks.

it is working.