Skip to content

Commit

Permalink
updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cjerrington committed Jan 26, 2021
1 parent a6e5371 commit 3b4092d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
# SQLBuilder
C# app to build SQL Attach Scripts

Simple C# app to build SQL Attach Scripts.

Allows users to build a mass attach script from the MDF and LDF files for MS SQL. I was looking into a way to automate the process when migrating a SQL server and running the ATTACH command. We had a lot of files and sometimes the file path was long. This simplified that process.

## Usage

You can select the location of the MDF files and the LDF files. These can be in different drives. The program will then compile the list of files in the directories and create the appropriate attach script.

You can also specify a file prefix if you so choose to. This will only select and create the script for the MDF and LDF files with that name.

You may also export the generated SQL Query to a SQL file for later use. It will be saved in the same directory as SQLBuilder and if a file prefix is entered, the file name will be save as well.

## Screenshot

![SQLBuilder](SQLBuilder.png)
Binary file added SQLBuilder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3b4092d

Please sign in to comment.