Downloads:

576

Downloads of v 1.04.0:

369

Last Update:

2/24/2017

Package Maintainer(s):

Software Author(s):

  • KellermanSoftware

Tags:

sql server mssql

Database Searcher

1.04.0 | Updated: 2/24/2017

Downloads:

576

Downloads of v 1.04.0:

369

Maintainer(s):

Software Author(s):

  • KellermanSoftware

Tags:

sql server mssql

Database Searcher 1.04.0

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install Database Searcher, run the following command from the command line or from PowerShell:

>

To upgrade Database Searcher, run the following command from the command line or from PowerShell:

>

To uninstall Database Searcher, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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://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

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade database-searcher -y --source="'STEP 3 URL'" [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 database-searcher -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure database-searcher installed
  win_chocolatey:
    name: database-searcher
    state: present
    version: 1.04.0
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'database-searcher' do
  action    :install
  version  '1.04.0'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: database-searcher,
    Version: 1.04.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller database-searcher
{
   Name     = 'database-searcher'
   Ensure   = 'Present'
   Version  = '1.04.0'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'database-searcher':
  provider => 'chocolatey',
  ensure   => '1.04.0',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install database-searcher version="1.04.0" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator AdmiringWorm on 3/9/2017.

Description

Database Searcher is like Google for your SQL Server database. It will search all columns for all tables over multiple databases. It will return a summary of matches, the generated SQL and the detailed matches per table. It will also search the schema by the table names or column names. Knowledge of SQL queries is not required. This is a 30 day trial that can be licensed and managed with Chocolatey.


tools\chocolateyinstall.ps1

$ErrorActionPreference = 'Stop'; # stop on all errors

$packageName= 'database-searcher' # arbitrary name for the package, used in messages
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url        = '' # download url, HTTPS preferred
$url64      = '' # 64bit URL here (HTTPS preferred) or remove - if installer contains both (very rare), use $url
$fileLocation = Join-Path $toolsDir 'SearchSQLServerDatabase_Chocolatey.exe'

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  fileType      = 'EXE'
  url           = $url
  url64bit      = $url64
  file         = $fileLocation

  softwareName  = 'database-searcher*' #part or all of the Display Name as you see it in Programs and Features. It should be enough to be unique

  checksum      = 'e7d5d305556a26730205aa2777b66f096571d11303215b32cc1c98aa25c18aa1'
  checksumType  = 'sha256' #default is md5, can also be sha1, sha256 or sha512
  checksum64    = 'e7d5d305556a26730205aa2777b66f096571d11303215b32cc1c98aa25c18aa1'
  checksumType64= 'sha256' #default is checksumType

   silentArgs    = "-/SILENT=YES /DESTINATION=bin"
  validExitCodes= @(0, 3010, 1641)
}

Install-ChocolateyInstallPackage @packageArgs # https://chocolatey.org/docs/helpers-install-chocolatey-install-package











$DesktopPath = [Environment]::GetFolderPath("Desktop")
$StartPath = [Environment]::GetFolderPath("StartMenu")
$targetPath = Join-Path $toolsDir 'bin\KellermanSoftware.DatabaseSearcher.exe'
$shortcutFilePath = Join-Path $DesktopPath 'Database Searcher.lnk'
Install-ChocolateyShortcut -shortcutFilePath $shortcutFilePath -targetPath $targetPath
$shortcutFilePath = Join-Path $StartPath 'Database Searcher.lnk'
Install-ChocolateyShortcut -shortcutFilePath $shortcutFilePath -targetPath $targetPath








tools\chocolateyuninstall.ps1



$ErrorActionPreference = 'Stop'; # stop on all errors

$packageName = 'database-searcher'
$softwareName = 'database-searcher*' #part or all of the Display Name as you see it in Programs and Features. It should be enough to be unique
$installerType = 'EXE' 

$silentArgs = '/qn /norestart'
$validExitCodes = @(0, 3010, 1605, 1614, 1641)
if ($installerType -ne 'MSI') {
  $validExitCodes = @(0)
}

$uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $softwareName

if ($key.Count -eq 1) {
  $key | % { 
    $file = "$($_.UninstallString)"

    if ($installerType -eq 'MSI') {
      $silentArgs = "$($_.PSChildName) $silentArgs"

      $file = ''
    }

    Uninstall-ChocolateyPackage -PackageName $packageName `
                                -FileType $installerType `
                                -SilentArgs "$silentArgs" `
                                -ValidExitCodes $validExitCodes `
                                -File "$file"
  }
} elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
  Write-Warning "$key.Count matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
  Write-Warning "Please alert package maintainer the following keys were matched:"
  $key | % {Write-Warning "- $_.DisplayName"}
}


$DesktopPath = [Environment]::GetFolderPath("Desktop")
$StartPath = [Environment]::GetFolderPath("StartMenu")
$shortcutFilePath = Join-Path $DesktopPath 'Database Searcher.lnk'
Remove-Item $shortcutFilePath
$shortcutFilePath = Join-Path $StartPath 'Database Searcher.lnk'
Remove-Item $shortcutFilePath


tools\LICENSE.txt

From: http://www.kellermanstores.com/downloads/licensing/database-searcher.rtf

LICENSE

Kellerman Software END-USER LICENSE AGREEMENT FOR Search SQL Server Database

Kellerman Software END-USER SOFTWARE LICENSE AGREEMENT

This End-User License Agreement ("EULA") pertains to Kellerman Software Copyrighted computer software (the "Software"). Please read the terms and conditions of this End-User License Agreement ("EULA") before installing or otherwise using the Software.

This End-User License Agreement ("EULA") is a legally enforceable contract between you ("Customer" or "you") and Kellerman Software. By clicking "I accept", installing, copying, or otherwise using any part of the Software or any associated media, any printed materials, or any "online" or electronic documentation, you agree to be bound by the terms of this EULA. If you do not agree to the terms of this EULA, promptly return the unused Software to your supplier 
for a full refund.


1. LICENSE GRANT

The Software and related documentation is licensed, not sold. Any rights not clearly and expressly granted to you under this EULA are reserved to Kellerman Software. Provided you have paid all applicable fees, registered the Software with Kellerman Software, and otherwise complied with this EULA, Kellerman Software grants you the following personal, non-exclusive, non-transferable, perpetual license with limited rights:

a. The Software may only be used by a single user per license purchased. The Software may be installed on workstations, laptops, and removable devices provided the Software is used ONLY by a licensed user. The Software may also be copied for archival purposes, provided the copy contains all of the original Software's proprietary notices.

b. You may not decompile, disassemble, extract or otherwise reverse engineer any of the Software. You shall not have the right to obtain or use any source code for the Software, nor copy, reproduce, disclose, rent, lease, loan, distribute or use the Software except as provided above. 

c. Licensee may not assign or transfer his rights and duties under this license.

d. This license is granted perpetually, as long as you do not materially breach it.


2. WARRANTY

a. Licensor hereby warrants that The Software does not violate or infringe any 3rd party claims in regards to intellectual property, patents and/or trademarks and that to the best of its knowledge no legal action has been taken against it for any infringement or violation of any 3rd party intellectual property rights.

b. The Software is provided without any warranty; Licensor hereby disclaims any warranty that The Software shall be error free, without defects or code which may cause damage to Licensee’s computers or to Licensee, and that Software shall be functional. Licensee shall be solely liable to any damage, defect or loss incurred as a result of operating software and undertake the risks contained in running The Software on License’s Server[s] and Website[s].

c. Prior Inspection: Licensee hereby states that he inspected The Software thoroughly and found it satisfactory and adequate to his needs, that it does not interfere with his regular operation and that it does meet the standards and scope of his computer systems and architecture. Licensee found that The Software interacts with his development, website and server environment and that it does not infringe any of End User License Agreement of any software Licensee may use in performing his services. Licensee hereby waives any claims regarding The Software's incompatibility, performance, results and features, and warrants that he inspected the The Software.


3. TERMINATION

The license will terminate automatically if you fail to comply with the terms, conditions, or limitations contained in this EULA, including the payment of applicable license or other fees. You may terminate this EULA at any time (with no obligation on the part of Kellerman Software) by destroying all copies of the Software, deleting any copies of the Software from your hard drives or other media ceasing all use of the Software and documentation; and providing satisfactory proof to Kellerman Software that you have done so. The disclaimer of warranty and limitations on liability shall continue in force even after your rights to use the Software are terminated.


4. DEMO OR EVALUATION VERSIONS

If Kellerman Software designates the Software as a "Demo" or "Evaluation" version, you may use the Software solely for evaluation purposes for a 30-day period. Use of the Software and/or documentation beyond the 30-day evaluation period violates Kellerman Software' rights, as described above, including but not limited to Kellerman Software' rights under the United States Copyright Act. You acknowledge that any Demo or Evaluation version is merely a technology demonstration that may not be at the level of performance or compatibility of generally available Kellerman Software' products. Demo or Evaluation versions are provided strictly on an "as is" basis and are subject to Section 2 above.


5. UPGRADES

If the Software is designated by Kellerman Software as an Upgrade product, you may only use the Software if you are also currently a licensed user of the base product to which the Upgrade applies. Unless the Kellerman Software documentation for an Upgrade specifically provides, you shall not separate upgrade products from base products, nor transfer them separately. Kellerman Software reserves the sole and exclusive right to set its policies and prices regarding updates, upgrades and enhancements. All other terms of this EULA apply with equal force to any such Upgrades.


6. INDEMNIFICATION

Licensee hereby warrants to hold Licensor harmless and indemnify Licensor for any lawsuit brought against it in regards to Licensee’s use of The Software in means that violate, breach or otherwise circumvent this license, Licensor's intellectual property rights or Licensor's title in The Software. Licensor shall promptly notify Licensee in case of such legal action and request Licensee’s consent prior to any settlement in relation to such lawsuit or claim.


7. GOVERNING LAW, JURISDICTION
Licensee hereby agrees not to initiate class-action lawsuits against Licensor in relation to this license and to compensate Licensor for any legal fees, cost or attorney fees should any claim brought by Licensee against Licensor be denied, in part or in full.
tools\SearchSQLServerDatabase_Chocolatey.exe
md5: BFBBEE51D88AF3275A9F324FB5EBCDE3 | sha1: 967C64B83F5DC877DA5068A39F392E4B46344019 | sha256: E7D5D305556A26730205AA2777B66F096571D11303215B32CC1C98AA25C18AA1 | sha512: E46A037CBF5611ED13D2C4D73E4C711820A6E29255F0938950538ED75F0B8B92EACCB39AFA9238FDE24966752905074C28DB854BB3F08813E5EC22D6E0D0D83D
tools\SearchSQLServerDatabase_Chocolatey.exe.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <startup>
    <supportedRuntime version="v2.0.50727"/>
    <supportedRuntime version="v4.0" />
  </startup>
</configuration>
tools\VERIFICATION.txt

VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
 
This is all software from Kellerman Software.  References:  http://www.kellermansoftware.com

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.

Version Downloads Last Updated Status
Database Searcher 1.03.0 207 Saturday, February 18, 2017 Approved

Handling of Binary data type on SQL Server


This package has no dependencies.

Discussion for the Database Searcher Package

Ground Rules:

  • This discussion is only about Database Searcher and the Database Searcher 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 Database Searcher, 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.
comments powered by Disqus