View Single Post
  #1  
Old 10-02-2013, 08:12 PM
Stabones
Fire Beetle
 
Join Date: Oct 2013
Location: United States
Posts: 17
Default Windows: Sourcing SQL Files

So, there are a lot of files to source...

source a.sql
source b.sql

...


source zz.sql

No thanks.

For future sourcing, use:

Code:
copy /b *.sql all_files.sql
This will take all .sql files in the directory and concatenate them into one. Want to pick and choose what to source? Select all .sql files you are interested in, copy them to a temp folder, and then run the copy command above!

Stabones
Reply With Quote