Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Is there a way to terminate the loading script if one of the tables in the script is empty?
I don't want to exit script with the data that has been loaded so far in the script, I want the app to be with the old data before the run.
Any ideas?
Thanks
Just query the filesize() or the noofrows() and add an invalide statement to break the script execution, maybe like:
if filesize('fullpath') = 0 or noofrows('MyTable') = 0 then
... an error ...
end if