Close Menu
    Trending
    • Credit Risk Scoring for BNPL Customers at Bati Bank | by Sumeya sirmula | Jul, 2025
    • The New Career Crisis: AI Is Breaking the Entry-Level Path for Gen Z
    • Musk’s X appoints ‘king of virality’ in bid to boost growth
    • Why Entrepreneurs Should Stop Obsessing Over Growth
    • Implementing IBCS rules in Power BI
    • What comes next for AI copyright lawsuits?
    • Why PDF Extraction Still Feels LikeHack
    • GenAI Will Fuel People’s Jobs, Not Replace Them. Here’s Why
    AIBS News
    • Home
    • Artificial Intelligence
    • Machine Learning
    • AI Technology
    • Data Science
    • More
      • Technology
      • Business
    AIBS News
    Home»Artificial Intelligence»7 Powerful DBeaver Tips and Tricks to Improve Your SQL Workflow
    Artificial Intelligence

    7 Powerful DBeaver Tips and Tricks to Improve Your SQL Workflow

    Team_AIBS NewsBy Team_AIBS NewsMarch 12, 2025No Comments6 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    Share
    Facebook Twitter LinkedIn Pinterest Email


    DBeaver is essentially the most highly effective open-source SQL IDE, however there are a number of options individuals don’t find out about. On this put up, I’ll share with you many options to hurry up your workflow, with zero fluff.

    I’ve discovered these as I’m presently digging deeper into the instruments I exploit every day, beginning with Dbeaver. In a future put up, I’ll examine the workflow between DBeaver versus constructing your SQL improvement setting on VSCode (or Cursor). In the event you’re taken with that, make sure to observe my publications!

    In the present day, although, the main target is on studying the cool options of DBeaver. Let’s get began.

    The Command Palette

    This is likely one of the strongest but hidden options in DBeaver. Perhaps individuals overlook it as a result of it’s not known as a “Command Palette”. You possibly can open it with CMD + 3 (Mac) or CTRL + 3 (Home windows).

    From right here, you may entry mainly any motion within the IDE. I largely use it for:

    • Switching between Sql scripts.
    • Navigating to particular settings.
    • Rapidly accessing actions like Export Outcomes, Refresh Schema, Open Templates, Rename File, and many others.

    (Formally, this function in DBeaver is named “Discover Actions.”)

    Customized SQL formatter

    Do you know you may simply arrange a unique formatter in DBeaver? I’m personally not a fan of the default formatting, and since I primarily use PostgreSQL, I desire pg_formatter.

    Let me present you the way it works to arrange pg_formatter, however understand that the method can be comparable for any SQL formatter you can name by way of the terminal.

    # Set up PG Formatter
    brew set up pgformatter
    
    # Discover the place this system is positioned.
    # In my case: choose/homebrew/bin/pg_format
    which pg_format

    Subsequent, go to Preferences → Editors → SQL Editor → Formatting, choose an “Exterior Formatter,” after which paste the trail to your required formatter.

    💡 Or you may merely open the command palette and seek for “Formatting”.

    Broaden columns on SELECT

    Usually, you would possibly want to pick most columns from a desk, excluding only a few. DBeaver makes this simpler by increasing your SELECT * into specific column names.

    You are able to do this with the CTRL + Area hotkey, each on Mac or on Home windows. This won’t work you probably have it certain to a different system shortcut, wherein case you may search for for “Content material Help” within the command palette.

    Rapidly discover column statistics

    DBeaver has a bunch of options to hurry up your evaluation. Certainly one of them that I exploit ceaselessly is the “Calc tab”, positioned to the fitting of your question outcomes. It enables you to shortly get the details about columns in your question outcomes.

    Here’s what you are able to do with it:

    • Discover the quantity of distinctive and non-null values of categorical columns.
    • Get min, max, imply, median, and many others., of numerical columns.

    Very helpful for shortly understanding your dataset!

    Advert-hoc teams

    Equally to the Calc tab, the “Groupings tab” enables you to shortly create group-by queries with out writing SQL manually.

    What you are able to do with it:

    • Rapidly rely occurrences of values.
    • Add a number of aggregations.

    Though this one is fairly good for easy aggregations, I discover it a bit underwhelming as there isn’t any approach to rely distinctive values, as I do within the GIF above, with out having to manually write the metric perform.

    SQL templates

    SQL Templates are extraordinarily highly effective, though I admit I don’t use them as typically as I ought to. Templates prevent from repeatedly writing widespread expressions.

    You possibly can see the built-in templates by opening the command palette and trying to find “Templates”. You will note shortcuts for:

    • SELECT * FROM {desk}
    • SELECT * FROM {desk} WHERE {col} = {worth}
    • And others, like deciding on and ordering, counting by teams, and many others.

    All it is advisable to do is to put in writing the shorthand for the question and press tab:

    It’s also possible to create your individual templates, which isn’t arduous should you simply copy the prevailing ones and adapt them.

    Superior copy ideas

    You would possibly already know DBeaver has intensive information export choices. Nevertheless, the usual export wizard can really feel a bit overwhelming, because it reveals you tons of configurations, even once you simply wish to shortly export a CSV.

    A faster method is deciding on information within the Outcomes tab, right-clicking, and selecting “Superior Copy”. By doing this, you may copy your information in lots of codecs like CSV, JSON, Markdown, TXT, and even SQL Insert Statements.

    I discover this one tremendous useful, particularly after I have to shortly ship information to a teammate.

    A bonus tip is you can copy this information to TSV, which will get correctly acknowledged by Excel and Google Sheets into their correct cells! For this one although, it’s important to be double superior, based on DBeaver 😅

    Conclusions

    I like DBeaver as a SQL IDE. It’s extremely highly effective and the interface could be very clear. It’s truthfully mindblowing that this software is free and open-source. In the event you haven’t tried it but, I like to recommend it lots! 

    I haven’t seen that many individuals speaking about a few of its nicest options and methods, and most ideas I’ve shared got here from simply utilizing the software program. There may be most likely lots that I missed, particularly with regards to Plugins, which I haven’t used a lot.

    I do know I went via the entire ideas very quick, so should you’re unsure, be at liberty to succeed in out. Additionally, you probably have extra workflow ideas, I might love to listen to about them!


    I hope you discovered one thing new!

    In the event you’re interested by different ideas that didn’t make it into this put up, or take pleasure in studying about common information subjects, subscribe to my free newsletter on Substack. I publish every time I’ve one thing genuinely fascinating to share.

    Need to join instantly or have questions? Attain out anytime at mtrentz.com.

    All photographs and animations, except in any other case famous, are by the writer



    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleBest AI/ML online and offline Training | by Cyberyaan Training & Consultancy | Mar, 2025
    Next Article The Key to a Successful Product Launch
    Team_AIBS News
    • Website

    Related Posts

    Artificial Intelligence

    Implementing IBCS rules in Power BI

    July 1, 2025
    Artificial Intelligence

    Become a Better Data Scientist with These Prompt Engineering Tips and Tricks

    July 1, 2025
    Artificial Intelligence

    Lessons Learned After 6.5 Years Of Machine Learning

    July 1, 2025
    Add A Comment
    Leave A Reply Cancel Reply

    Top Posts

    Credit Risk Scoring for BNPL Customers at Bati Bank | by Sumeya sirmula | Jul, 2025

    July 1, 2025

    I Tried Buying a Car Through Amazon: Here Are the Pros, Cons

    December 10, 2024

    Amazon and eBay to pay ‘fair share’ for e-waste recycling

    December 10, 2024

    Artificial Intelligence Concerns & Predictions For 2025

    December 10, 2024

    Barbara Corcoran: Entrepreneurs Must ‘Embrace Change’

    December 10, 2024
    Categories
    • AI Technology
    • Artificial Intelligence
    • Business
    • Data Science
    • Machine Learning
    • Technology
    Most Popular

    Preprocessing Techniques for Better Face Recognition

    March 7, 2025

    Who Does What in Data? A Clear Guide to Analysts, Engineers, Scientists, and ML Engineers | by Taha Öztürk | Feb, 2025

    February 17, 2025

    IEEE Offers AI Training Courses and a Mini MBA Program

    February 22, 2025
    Our Picks

    Credit Risk Scoring for BNPL Customers at Bati Bank | by Sumeya sirmula | Jul, 2025

    July 1, 2025

    The New Career Crisis: AI Is Breaking the Entry-Level Path for Gen Z

    July 1, 2025

    Musk’s X appoints ‘king of virality’ in bid to boost growth

    July 1, 2025
    Categories
    • AI Technology
    • Artificial Intelligence
    • Business
    • Data Science
    • Machine Learning
    • Technology
    • Privacy Policy
    • Disclaimer
    • Terms and Conditions
    • About us
    • Contact us
    Copyright © 2024 Aibsnews.comAll Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.