Fixed issue #07995: Memory issue in Survey Activation
Dev: fixnumbering need to be review
Dev: All SQL need reviewing (put this for 2.05)