Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 4729

Executing Scripts From a folder and sub folders

$
0
0

Hi All,

I have a folder which has subfolders name like 1 and 2 all numbers all folders have some SQL scripts files I want to execute all scripts in incremental folder name like first execute folder 1 then 2 and so on till 100<g class="gr_ gr_177 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation multiReplace" data-gr-id="177" id="177">..</g>

I want to create function/SP or script which complete my job in a single F5.

Can someone help on <g class="gr_ gr_433 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation multiReplace" data-gr-id="433" id="433">this.</g>

Thanks in advance.


Viewing all articles
Browse latest Browse all 4729

Trending Articles