1#Integrated Security
2sqlcmd -S Serverinstance -E -i import_file.sql
3#UserName and Password
4sqlcmd -S <server Name> -U sa -P sapassword -i inputquery_file_name -o outputfile_name
5
1sqlplus username/password@service -- OR sqlplus / as sysdba
2 SQL> SELECT sysdate FROM dual;
3 SQL> @C:\Users\folder\script.sql
4-- OR
5 SQL> START C:\Users\folder\script.sql
1sqlplus username/password@service -- OR sqlplus / as sysdba
2
3SQL> SELECT * FROM dual;