Answers for "run sql server script from command line"

SQL
4

execute sql script

sqlplus username/password@service	-- OR sqlplus / as sysdba
 SQL> SELECT sysdate FROM dual;
 SQL> @C:Usersfolderscript.sql
-- OR
 SQL> START C:Usersfolderscript.sql
Posted by: Guest on August-06-2021
0

run sql script from command line

mysql -u yourUserName -p yourDatabaseName < yourFileName.sql
Posted by: Guest on July-14-2021

Code answers related to "run sql server script from command line"

Code answers related to "SQL"

Browse Popular Code Answers by Language