Answers for "run sql in terminal"

SQL
4

execute mysql file

mysql -u yourusername -p yourpassword yourdatabase < text_file
Posted by: Guest on June-01-2020
0

mysql terminal run sql file

$ mysql -h "server-name" -u "your_username" -p "your_password" "database-name" < "filename.sql"
Posted by: Guest on September-16-2021
0

run sql command line

sqlplus username/password@service	-- OR sqlplus / as sysdba

SQL> SELECT * FROM dual;
Posted by: Guest on August-27-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language