| Summary: | Running specific query in LibreOffice Base does not work | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Canoel K. <can2004kaya> |
| Component: | Base | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | ilmari.lauhakangas, miguelangelrv, robert |
| Priority: | medium | ||
| Version: | 7.6.4.1 release | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
|
Description
Canoel K.
2024-01-17 08:46:07 UTC
The text on WHERE must be with single quotes. SELECT * FROM Sortiment WHERE Rubrik = 'Zeichnen' works for me. (In reply to m_a_riosv from comment #1) > The text on WHERE must be with single quotes. > SELECT * FROM Sortiment WHERE Rubrik = 'Zeichnen' > works for me. Usually double quotes work too, except for this file. When re-creating this file manually, double quotes work as normal. This is inconsistent behavior. I don't think so, double quotes are for fields, no for strings. Attachment isn't available, but SELECT * FROM "Sortiment" WHERE "Rubrik" = "Zeichnen" expect 2 fields: "Rubrik" and "Zeichnen" and will show all rows where content of "Rubrik" and "Zeichnen" are the same. Double-quotes are used for quoting fields and tables, not for quoting text content. For text content you will need single quotes. Please have a look at the documentation. When I see the query it might be German Base Handbuch you will need: https://de.libreoffice.org/get-help/documentation/ |