I want to know how to organize, review, and execute multiple lines of SQL.

Asked 2 years ago, Updated 2 years ago, 26 views

In the case of programming language, you can squeeze it out of the notepad and run it in the shell.

I know that you use IDE like Eclipse.

I don't think SQL will enter multiple lines of queries in the command line either.

I wonder how you use it in practice.

Where do you organize the query, how do you save it, and where do you run it?

I would appreciate it if you could tell me how to use these things.

(If there is a way to recommend it for practice, please recommend it too.)

sql

2022-09-22 20:32

2 Answers

I use tools called datagrip, sqldeveloper for simple queries.

Datagrip supports most of the divisions (oracle, mysql, postgresql, msql, etc.), so it's good to manage multiple types of divs in one tool. If you use a tool, it's good to assist when writing queries, so usually you write queries in the tool, and if you write a large number of repeated queries, you use sublime text or atom, but I think sublime text is faster than atom.


2022-09-22 20:32

I use Postgresql. I use a SQL client called Postico. When you need to make a long query, write it in sublime text and use it.

Other developers record a lot of queries in Evernote.


2022-09-22 20:32

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.