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
22
votes
3 answers

Defining a Redshift connection in DataGrip

I'm trying to define a Redshift connection in DataGrip but couldn't find any Redshift driver in the UI. I tried using both Postgres and generic Database Driver with no luck. Has someone been able to configure this?
Ziv Gabovitch
  • 735
  • 1
  • 7
  • 18
20
votes
2 answers

How to set SQL Server Authentication Method in DataGrip?

Is there a way to specify the authentication method (SQL Server or Windows Authentication) when connecting to SQL Server with DataGrip? I have tried configuring using both the SQL Server(jTDS) and the SQL Server(Microsoft) drivers and don't see an…
bigtunacan
  • 4,873
  • 8
  • 40
  • 73
18
votes
3 answers

How To Set Server Output On in DataGrip

How Can I "set server output" on in Jetbrains DataGrip IDE? I am able to do this in SQL Developer and run the SQL script successfully. The same script I try to run in DataGrip and it gives error. I know its the "set server output on" that is not…
kooliebwoy
  • 343
  • 1
  • 2
  • 10
18
votes
2 answers

IntelliJ DataGrip how to enable add row?

I use the DataGrip for some days now and i really like it but it has a suspicious behavior. In some tables i open i can't add new rows. In other tables of the same database it works fine. The add row button is disabled and so i can't add new…
Stefan Lang
  • 204
  • 3
  • 5
16
votes
6 answers

javax.net.ssl.SSLHandshakeException: The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]

I upgraded DataGrip to 2021.1.2, and now when I run any query I get this response javax.net.ssl.SSLHandshakeException: The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12] How to resolve this?
Ali Faris
  • 17,754
  • 10
  • 45
  • 70
16
votes
6 answers

How to comment & uncomment multiple line SQL code in DataGrip IDE

I would like to comment out queries with a keyboard shortcut, like so SELECT * FROM Academics WHERE Academic_id = 1 To become --SELECT * --FROM Academics --WHERE Academic_id = 1
user4547600
15
votes
2 answers

Copying/Cloning database in Datagrip(MySQL)

How can I copy a schema to another schema I've created in Datagrip, essentially creating a clone of the original. For some reason my CMD prompt is not set for MySQL, and I have not found the way to do it via the Datagrip user interface.
AsapHogFtw
  • 181
  • 1
  • 1
  • 8
15
votes
3 answers

How to quick view tables in DataGrip?

In sql express I could setup query shortcuts, so I simply create a "Select * from " shortcut and when I press it with the table name selected it shows me the select result There's any way I can quick view the table content selecting only the table…
Tgo1014
  • 536
  • 1
  • 7
  • 17
15
votes
4 answers

Script schema of the entire database with Datagrip

Is it possible to script schema of the entire database (SQL Server or Postgres) using datagrip? I know I can get DDL for table and view and source for each stored procedure / function on it's own. Can I get one script for all objects in database at…
vittore
  • 17,449
  • 6
  • 44
  • 82
15
votes
3 answers

How do I connect a MS Access database to Jetbrains DataGrip

I have been using DataGrip for a couple of weeks now and I like it a lot. The only thing I am unable to find out is how to connect DataGrip to a MS Access database. Could someone explain to me how to do that?
Johan Vergeer
  • 5,208
  • 10
  • 48
  • 105
14
votes
1 answer

Automatically capitialize things in datagrip

Is there a way in datagrip to automatically capitialize key words even if they are typed in lowercase? For example SELECT, FROM , WHERE , HAVING, ORDER BY?
Daniel L. VanDenBosch
  • 2,350
  • 4
  • 35
  • 60
14
votes
2 answers

How do I stop SQL splitting string literals when I press Enter in DataGrip or IntelliJ Database Editor?

When my cursor is after an open quote in a SQL statement in an IntelliJ database console and I press Enter, it closes the quote on the current line and adds a concatenation symbol with an open quote on the newline. I disabled formatting the SQL code…
Chris
  • 4,594
  • 4
  • 29
  • 39
14
votes
3 answers

How could I create relationships between tables in JetBrains' DataGrip?

I am using DataGrip by JetBrains in my work. It is ok, but I don't know how to create relationships between tables like in this picture:
progreccor
  • 181
  • 1
  • 1
  • 14
12
votes
4 answers

Google Big Query: alternatives to browser SQL editor?

I'm currently working a lot with Google Big Query and I absolutely hate querying in-browser. I'm used to connect to regular DB's through editors like Toad, Microsoft SQL Studio, Teradata Studio Express or Databeaver. I'm look for a similar tool that…
romanoww
  • 121
  • 1
  • 1
  • 6
12
votes
1 answer

Using JetBrains DataGrip - where do I find Functions?

I just created a function, but I cannot find it in the schema. To make sure that I was reading the latest schema I even restarted DataGrip. Where are Functions found in DataGrip?
Inquisitor Shm
  • 1,433
  • 5
  • 17
  • 26
1
2
3
45 46