DbPeekQueryLibrary 1.0.1

.NET 5.0
dotnet add package DbPeekQueryLibrary --version 1.0.1
NuGet\Install-Package DbPeekQueryLibrary -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DbPeekQueryLibrary" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DbPeekQueryLibrary --version 1.0.1
#r "nuget: DbPeekQueryLibrary, 1.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install DbPeekQueryLibrary as a Cake Addin
#addin nuget:?package=DbPeekQueryLibrary&version=1.0.1

// Install DbPeekQueryLibrary as a Cake Tool
#tool nuget:?package=DbPeekQueryLibrary&version=1.0.1


This package contains a language extension method to reveal a parameterized SQL statement written using a managed data provider in C# or VB.NET programming languages.

Example usage, a query has syntax issues which mainly come from a developer writing a query in code rather than writing the query in, for SQL-Server SSMS, for Oracle, Toad or Microsoft Access in Access.


Queries use name parameters, makes no sense to use this with string concatenated string as you can see parameter values already.

  • For Oracle the parameter is prefixed with :,

  • For SQL-Server @.

  • For MS-Access (which many use ? but not with this exension) @.

Code samples

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 230 9/13/2022
1.0.0 223 9/2/2022

No code changes, updated readme file