- or download this
cat file.sql | sql database -uUsername -Ppassword
- or download this
sql database -uUsername -Ppassword <file.sql
- or download this
my $shell_cmd = 'sql database -uUsername -Ppassword <file.sql';
capture_exec_combined('sh', '-c', $shell_cmd)
- or download this
my $shell_cmd = 'sql database -uUsername -Ppassword <file.sql';
capture_exec_combined($shell_cmd)