KRACOEUS-7014:fixing sql scripts
Merge pull request #1137 from jwillia/KRACOEUS_7014_3

KRACOEUS-7014:fixing sql scripts