Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy SQL text and use it in DB client directly #682

Open
rumplin opened this issue Jan 23, 2025 · 0 comments
Open

Copy SQL text and use it in DB client directly #682

rumplin opened this issue Jan 23, 2025 · 0 comments

Comments

@rumplin
Copy link

rumplin commented Jan 23, 2025

Every time I want to copy the query to my DB client, I have to adjust some parameters like datetime values and guid values.

Sometimes the dates even have a suffix '_1' and I have to remove that too.
So in order to execute this in my DB client, I have to put single qoutes around these parameters to get it to work.
It would save me a lot of time to be able to just copy the query out of MiniProfiler and paste it in my DB client.

Please see my screenshot:
Image
(Sorry, I had to blur so much of the screen)

I'm using:

  • dotnet Core 8
  • EF Core 8
  • MS SQL
  • MiniProfiler 4.3.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant