-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
31 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
T-SQL Flex Installation Instructions | ||
==================================== | ||
|
||
* Download the latest release from the [GitHub releases page](https://github.com/nycdotnet/TSqlFlex/releases). | ||
* Extract the contents of the ZIP file somewhere, for example `C:\ProgramData\T-SQL Flex\` | ||
* Install the [Red Gate SIP framework](http://documentation.red-gate.com/display/MA/Redistributing+the+framework). | ||
* Figure out if you have 32-bit or 64-bit Windows; it affects the next step. | ||
* Open Regedit and create or navigate to the below registry key: | ||
* If 32-bit Windows: `HKLM\SOFTWARE\Red Gate\SIPFramework\Plugins` | ||
* If 64-bit Windows: `HKLM\SOFTWARE\Wow6432Node\Red Gate\SIPFramework\Plugins` | ||
* Create a new registry string value (REG_SZ) there to point to the extracted TSqlFlex.dll. | ||
* For example: `C:\ProgramData\T-SQL Flex\TSqlFlex.dll` | ||
|
||
**Using T-SQL Flex:** | ||
* Launch SQL Server Management Studio and click the T-SQL Flex button. | ||
* Type one or more queries in the top panel and click the Run'n'Rollback button. | ||
* T-SQL Flex will run your query in the scope of an ADO.NET Transaction that is rolled-back when the batch completes. The schema returned from those queries will be scripted in the lower panel. | ||
* You can also have your query scripted into an Excel sheet by selecting that in the dropdown. | ||
|
||
**To uninstall T-SQL Flex:** | ||
* Simply delete the registry key and the extracted files and restart SSMS. | ||
|
||
Please create issues on GitHub or reach out to Steve on Twitter at [@nycdotnet](https://twitter.com/nycdotnet). | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters