Now I am using the shell command. Its working
In reply to Re^2: How to execute sql scripts via perl by cnarun86 in thread How to execute sql scripts via perl by cnarun86