Select-Commands in Views, Functions, Procedures

Discussion of open issues, suggestions and bugs regarding database management and administration tools for MySQL
Post Reply
Ben2003
Posts: 10
Joined: Tue 14 Apr 2020 12:21

Select-Commands in Views, Functions, Procedures

Post by Ben2003 » Mon 06 Jul 2020 17:54

Use: dbForge Studio 2020 for MySQL Version 9.0.338

== English ==
Hello,

I noticed that select statements are rewritten after they are created.

For example, a Simplen Select command ...

SELECT Z.id,
Z.von_bis,
Current amount,
Z.von,
Z. bis FROM zaehler Z
INNER JOIN reading A
ON Z.id = A.zaehler

... after the takeover ...

SELECT
`Z`.`id` AS` id`,
`Z`.`von_bis` AS` von_bis`,
`Z`.` amount` AS` amount`,
`Z`.`von` AS` von`,
`Z`.` bis` AS` bis`
FROM (`counter`` Z`
JOIN `reading` A`
ON ((`Z`.`id` =` A`.`zaehler`)))

If such an object has to be revised later, you are first forced to remove the unnecessary brackets.

In addition, I usually also remove the `signs, as these are often in the way. The `characters appear to be there to include spaces in the names. I don't use these characters.

Question: Does anyone know how to disable this strange behavior:

- No unnecessary brackets should be made.
- The object names should not be set in `signs.


== German ==
Hallo,

mir ist aufgefallen, dass Select-Anweisungen nach dem Erstellen etwas umgeschrieben werden.

So wird zum Beispiel aus einem Simplen Select-Befehl ...

SELECT Z.id,
Z.von_bis,
Z.betrag,
Z.von,
Z.bis FROM zaehler Z
INNER JOIN ablese A
ON Z.id = A.zaehler

... nach der Übername ...

SELECT
`Z`.`id` AS `id`,
`Z`.`von_bis` AS `von_bis`,
`Z`.`betrag` AS `betrag`,
`Z`.`von` AS `von`,
`Z`.`bis` AS `bis`
FROM (`zaehler` `Z`
JOIN `ablese` `A`
ON ((`Z`.`id` = `A`.`zaehler`)))

Wenn solch ein Objekt später nochmals überarbeitet werden muss, ist man erst gezwungen, die überflüssigen Einklammerungen zu entfernen.

Zusätzlich entferne ich meistens auch die `-Zeichen, da mir diese oft im Wege sind. Die `-Zeichen sind anscheinend dafür da, um auch in die Namen Leerzeichen verwenden zu können. Ich verwende diese Zeichen nicht.

Frage: Weiß jemand, wie man dieses seltsame Verhalten deaktivieren kann:

- Es sollen keine Unnötigen Einklammerungen vorgenommen werden.
- Die Objekt-Namen sollen nicht in `-Zeichen gesetzt werden.

alexa

Re: Select-Commands in Views, Functions, Procedures

Post by alexa » Tue 07 Jul 2020 12:46

There is no such a possibility.

Though, you can add a suggestion on the UserVoice forum where other users can vote for it https://devart.uservoice.com/forums/77293-dbforge-studio-for-mysql

We collect and analyze the information from this forum in order to make a proper roadmap for future product releases.

Post Reply