Zulku
Dirty Dev
Simple, short, sweet tutorial on how to combine sql queries.
Open command propmt.
Browse to location of all queries you wish to combine.
-To change locations in command propmpt use the command
to go up, or
and continue to the folders destination through any sub-folders you have created.
Then execute the following command(s) based on your OS.
For Windows
For Linux
Change the update.sql to the desired name of the sql file you wish it to be saved as.
Credits;
Google for translating the commands for linux
Open command propmt.
Browse to location of all queries you wish to combine.
-To change locations in command propmpt use the command
Code:
cd ..
Code:
cd C:/Trinity/sql/INSERT_FOLDER_NAME_HERE
Then execute the following command(s) based on your OS.
For Windows
Code:
copy *.sql update.sql
For Linux
Code:
cat *.sql > update.sql
Change the update.sql to the desired name of the sql file you wish it to be saved as.
Credits;
Google for translating the commands for linux