A simple command-line tool to query database schema in Microsoft SQL Server
This is a tool to help you quickly search the names of objects (columns, tables, stored procedure) in Microsoft SQL server. This tool has been released as a dotnet global tool. You can install it by the following dotnet command,
dotnet tool install wooly905.prs -g
The followings are the examples to show you how to use this tool.
The following screenshots show you the tables and columns created by Hangfire.
This is the first thing to do for this tool. Make sure your connection string is good with correct host URL, database name, username, and password.
This is the command to dump the database schema into your local user folder. This command must be executed for any query command below.
prs fsp [full or partial name of a storec procedure to find]