xxxxxxxxxx
sqlplus username/password@service -- OR sqlplus / as sysdba
SQL> SELECT * FROM dual;
xxxxxxxxxx
mysql -u yourUserName -p yourDatabaseName < yourFileName.sql
xxxxxxxxxx
/*in Sql Server (SSMS)*/
/*Hightlight the statements you would like to execute*/
/*Then click on the green play button (somtimes with the word execute) or press F5*/