Downloads:
3,963
Downloads of v 0.1.0-beta:
974
Last Update:
08 May 2015
Package Maintainer(s):
Software Author(s):
- Steve Ognibene
Tags:
t-sql flex sql server ssms- Software Specific:
- Software Site
- Software License
- Package Specific:
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
T-SQL Flex
This is a prerelease version of T-SQL Flex.
- 1
- 2
- 3
0.1.0-beta | Updated: 08 May 2015
- Software Specific:
- Software Site
- Software License
- Package Specific:
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
3,963
Downloads of v 0.1.0-beta:
974
Maintainer(s):
Software Author(s):
- Steve Ognibene
T-SQL Flex 0.1.0-beta
This is a prerelease version of T-SQL Flex.
- 1
- 2
- 3
Some Checks Have Failed or Are Not Yet Complete
Not All Tests Have Passed
Validation Testing Unknown
Verification Testing Unknown
Scan Testing Successful:
No detections found in any package files
Deployment Method: Individual Install, Upgrade, & Uninstall
To install T-SQL Flex, run the following command from the command line or from PowerShell:
To upgrade T-SQL Flex, run the following command from the command line or from PowerShell:
To uninstall T-SQL Flex, run the following command from the command line or from PowerShell:
Deployment Method:
This applies to both open source and commercial editions of Chocolatey.
1. Enter Your Internal Repository Url
(this should look similar to https://community.chocolatey.org/api/v2/)
2. Setup Your Environment
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
-
Download the package:
Download - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
choco download tsqlflex --internalize --version=0.1.0-beta --pre --source=https://community.chocolatey.org/api/v2/
-
For package and dependencies run:
choco push --source="'INTERNAL REPO URL'"
- Automate package internalization
-
Run: (additional options)
3. Copy Your Script
choco upgrade tsqlflex -y --source="'INTERNAL REPO URL'" --version="'0.1.0-beta'" --prerelease [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade tsqlflex -y --source="'INTERNAL REPO URL'" --version="'0.1.0-beta'" --prerelease
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Install tsqlflex
win_chocolatey:
name: tsqlflex
version: '0.1.0-beta'
source: INTERNAL REPO URL
state: present
allow_prerelease: yes
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'tsqlflex' do
action :install
source 'INTERNAL REPO URL'
version '0.1.0-beta'
options '--prerelease'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
cChocoPackageInstaller tsqlflex
{
Name = "tsqlflex"
Version = "0.1.0-beta"
Source = "INTERNAL REPO URL"
chocoParams = "--prerelease"
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'tsqlflex':
ensure => '0.1.0-beta',
install_options => ['--prerelease'],
provider => 'chocolatey',
source => 'INTERNAL REPO URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
4. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
This package is exempt from moderation. While it is likely safe for you, there is more risk involved.
SSMS add-in for scripting and Excel export.
$packageName = "T-SQL Flex";
$installLocation = "$env:ProgramData\T-SQL Flex";
function Remove-ItemIfExists($itemName) {
if ((Test-Path $itemName) -eq $true) {
Remove-Item $itemName;
}
}
# thanks: http://stackoverflow.com/questions/5648931/test-if-registry-value-exists
function Test-RegistryValue($regkey, $name) {
$exists = Get-ItemProperty -Path "$regkey" -Name "$name" -ErrorAction SilentlyContinue
If (($exists -ne $null) -and ($exists.Length -ne 0)) {
Return $true
}
Return $false
}
function Get-RegistrySoftwareRootKey() {
if (Get-ProcessorBits -eq 64) {
Return "HKLM:\Software\Wow6432Node";
}
Return "HKLM:\Software";
}
try {
Remove-ItemIfExists "$installLocation\RedGate.SIPFrameworkShared.dll";
Remove-ItemIfExists "$installLocation\TSqlFlex.Core.dll";
Remove-ItemIfExists "$installLocation\TSqlFlex.dll";
Remove-ItemIfExists "$installLocation\InstallationInstructions.txt";
Remove-ItemIfExists "$installLocation\License.txt";
Remove-ItemIfExists "$installLocation\README.txt";
$root = Get-RegistrySoftwareRootKey;
$pluginsPath = "$root\Red Gate\SIPFramework\Plugins";
if ((Test-RegistryValue $pluginsPath "TSQLFlex") -eq $true) {
Remove-ItemProperty -Name "TSQLFlex" -Path $pluginsPath | Out-Null
}
} catch {
Write-ChocolateyFailure $packageName $($_.Exception.Message);
throw;
}
try {
Remove-ItemIfExists "$installLocation";
} catch {
# Don't sweat it.
}
Write-ChocolateySuccess "$packageName uninstall complete.";
Log in or click on link to see number of positives.
- tsqlflex.0.1.0-beta.nupkg (59893dcfc9a4) - ## / 57
- TSqlFlex-v0.1.0-beta.zip (d6fc4620901c) - ## / 55
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Add to Builder | Version | Downloads | Last Updated | Status |
---|---|---|---|---|
T-SQL Flex 0.2.1-beta | 743 | Friday, July 14, 2017 | Exempted | |
T-SQL Flex 0.2.0-beta | 692 | Saturday, September 24, 2016 | Exempted | |
T-SQL Flex 0.1.0-beta | 974 | Friday, May 8, 2015 | Exempted | |
T-SQL Flex 0.0.11-alpha | 492 | Wednesday, January 28, 2015 | Exempted | |
T-SQL Flex 0.0.10 | 1062 | Sunday, January 25, 2015 | Approved |
2015
- v0.1.0-beta (2015-05-07):
- Reverted to use .NET 3.5 to restore compatibility with SSMS 2008.
- Added CSV export feature! T-SQL Flex can now export the results of any set of queries to properly-escaped CSV files that open correctly in Excel or any text editor.
- Added a handful of additional T-SQL keywords.
- Removed "This is alpha software" warning. Beta 1 will likely have only minimal further changes prior to the v1.0 release of T-SQL Flex.
-
- sipfw (≥ 1.0.3.4)
Ground Rules:
- This discussion is only about T-SQL Flex and the T-SQL Flex package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or T-SQL Flex, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.