Questions tagged [datagrip]

JetBrains' commercial Database IDE(formerly 0xdbe). This is a cross platform database IDE that supports most relational databases.

DataGrip is a multi-engine database environment from JetBrains. It supports:

  • Oracle
  • PostgreSQL
  • AWS Redshift
  • MySQL
  • Microsoft SQL Server
  • Microsoft Azure
  • DB2
  • Sybase
  • SQLite
  • HyperSQL
  • Apache Derby
  • H2
  • Exasol

Targeting the needs of professional SQL developers, DataGrip makes working with databases an enjoyable experience.

Main features

Database objects

DataGrip introspects objects in your databases and displays them grouped in folders by schemas. It also provides a UI for adding and editing tables, columns, indexes, constraints, etc. Quick navigation brings you to any object, whether it has just been created in your code or has been read from a database.

Data editor

A powerful table editor lets you add, remove, edit, and clone data rows. Navigate through the data by foreign keys and use the text search to find anything in the data displayed in the table editor. All your changes are stored locally and can be submitted at once. Multiple fields can also be edited at once.

Query editor

Transform and move blocks of code, use multi-cursors to manage selection, format code according to specific style. DataGrip provides context-sensitive, schema-aware code completion, helping you write code faster. Completion is aware of table structure, foreign keys, and even database objects created in the code you're editing.

Additional Features

Code Reformatting

Reformat queries with a single click through user-definable code style schemes. Formatting currently supports: SQL, JSON, HTML, XML, and CSV.

Query Templates (Live Templates)

Ability to define custom, commonly-used SQL snippets that can be generated via an alias using smart code completion (e.g. define a common set of joins to auto-generate when typing 'common' into the SQL editor).

Safe Refactor

Refactor code without worrying that your changes will break other portions of your project. DataGrip will automatically check and alert, if a refactor change has the potential to break other portions of code within your project.

Links

679 questions
12
votes
1 answer

Does DataGrip by JetBrains support PL/SQL development?

JetBrains website displays multiple useful features of their Database IDE, including code generation as per https://www.jetbrains.com/datagrip/features/generation.html; However the website does not explicitly declare support for PL/SQL. Can any…
Daniel Micallef
  • 312
  • 1
  • 3
  • 13
11
votes
2 answers

How do I create a view in JetBrains DataGrip?

I am using an Azure SQL database with DataGrip. I would like to create a view connecting certain tables within my database. Does DataGrip have a tool for doing this? If so, how can I do it? It's relatively easy in Microsoft SQL Server Management…
Mitch Wilkins
  • 495
  • 4
  • 19
11
votes
2 answers

DataGrip Postgres SSL error: sun.security.validator.ValidatorException

DataGrip won't connect to my Postgres instance, but I can connect fine via psql on the terminal: psql -h dbhost.com reps username >Password for user... (connects) However, IntelliJ DataGrip throws: Connection to username@dbhost.com failed. SSL…
Petrus Theron
  • 27,855
  • 36
  • 153
  • 287
10
votes
2 answers

Data Grip - how do I perform a simple SQL formatting (the same way ctrl+shift+F does in DBeaver)?

I'm using Data Grip and writing queries for use with Presto. How can I get Data Grip to format my queries so they will be neat and easy to read?
GiladZa789
  • 111
  • 1
  • 7
10
votes
4 answers

DataGrip view JSON in pretty

Is there a way to view JSON in a pretty format with lines wrapped when selecting the column in DataGrip? In MySQL Workbench there's a nice option of "Open value in Editor". The "Edit Maximized" does not wrap or fit in screen. DataGrip: MySQL…
John Jai
  • 3,463
  • 6
  • 25
  • 32
10
votes
2 answers

How can I connect Jet Brains DataGrip to an Elasticsearch instance?

I have Jet Brains DataGrip, I also have an elasticsearch instance running locally in docker exposed on a known port via the tcp protocol. How can I connect DataGrip to my elasticsearch instance? DataGrip doesn't list it as a type of database to be…
10
votes
1 answer

How to change number format in DataGrip table editor

I'm wondering, why DataGrip not respecting local number format separators, when editing table values. Here in Germany our decimal separator is a comma, not a dot. And so I can't use my keypad to edit numbers. Has anyone a idea, how to change number…
Steffen Maucy
  • 132
  • 1
  • 7
10
votes
1 answer

How to connect to MS SQL Server Express in JetBrains DataGrip?

I'm trying to set up new tool from JetBrains: DataGrip to work with my local install of MS SQL Server 2014 Express. I spent some time trying to "convert" ms connection string to jdbc, but no luck. I can connect using MS SQL Server 2014 management…
Yuriy
  • 103
  • 1
  • 1
  • 5
9
votes
1 answer

How to set datagrip to take same timezone as the host database

I want that my postgres datagrip connection should take the same timezone as the remote source (host) its connected to. How do I do this?
user248884
  • 851
  • 1
  • 11
  • 21
9
votes
2 answers

How to connect to database through SSH using DataGrip

To connect and set up properly with a command line, I "simply" have to do: ssh @ -L 1139:arcade:139 Enter psql -h postgres \c ift2935 set search_path to inscriptions_devoir; However, I've been tempted to use a more…
payne
  • 4,691
  • 8
  • 37
  • 85
9
votes
2 answers

How to run query with parameters in DataGrip?

In DataGrip, how can I pass parameters to SQL query? Say I have a query: select * from table where date >= ? Then how can I bind the variable here? When I open the parameters pane, i.e. click the P button here. I see No parameters…
Psidom
  • 209,562
  • 33
  • 339
  • 356
9
votes
2 answers

Switching PostgreSQL database or Schema in DataGrip JetBrains

Does anybody know how to switch between PostgreSQL databases or schemas in DataGrip (The Database IDE from JetBrains) in the console? i can do that in Mysql by using: Use my_database; I tried using the Psql methods like \connect or \c but…
Hamza Benzaoui
  • 168
  • 3
  • 14
9
votes
1 answer

How to see Query Execution Time in DataGrip?

I am not able to see any query execution time option ORACLE DB's PL/SQL in JetBrain's DataGrip. There are no any help about this in JetBrain's help pages. Any help will be greatly appreciated.
Prometheus
  • 1,522
  • 3
  • 23
  • 41
9
votes
1 answer

SSH tunnel doesn't work in DataGrip

I have an Oracle database that is located on server_c and are only accessible if you are on server_b. So in order to connect to this Oracle database, I have to first log in to server_b via SSH, and type in the following command to connect to…
Searene
  • 25,920
  • 39
  • 129
  • 186
9
votes
1 answer

Is there a good way to perform SQL dump of MySQL database in DataGrip?

I'm trying to use JetBrains DataGrip as my primary DB tool. However, I still find myself using SequelPro for SQL Dump. Here is why: On a database level, I couldn't find any SQL dump functionality. The only options seems to be "copy DDL", which…
Andre
  • 264
  • 3
  • 8
1 2
3
45 46