Azure Data Studio -The gift that keeps on giving (day 12/31)

I thought I had come up with a clever way of searching in Azure Data Studio to search for the filename of a SQL or PowerShell file using a PowerShell script that read the file in reversed the file, and added the file name to the end of the file and reserved it back so basically adding the name of the file to the top with a comment like:-

#My SQL Script.sql #SQL

I can now search on the file name then I discovered if type Ctrl+P and just type the name, I can find the file name with no clever Powershell shenanigans.

I love this app. I am still finding stuff out using day today.

Then a couple of days ago I discovered if you start typing in the pane with all your scripts it can filter on what you type, the example below I type CMD and find all files with CMD in the title. I knew it did this in the PowerShell section but hadn’t realised it did it here!

search

I had started to think blogging 31 times in a month would be a challenge and I imagine it will be, but I keep finding out new features.

This blog was finished off on the way to Leeds Dataplatform with @Ianpike both of doing techie stuff ( he’s finishing his presentation just saying)

This entry was posted in Azure Data Studio, Tips & Tricks and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s