Ansgar Becker
401674177f
feat: inject app name and version into potentially long during SQL queries for the SQL export
...
Refs #1988
2026-02-23 17:33:51 +01:00
Ansgar Becker
dcebcc6417
enhance: export tables which are hidden through the table filter
...
Closes #1983
2026-02-19 15:48:29 +01:00
Ansgar Becker
f8f980572d
refactor: retrieve query for disabling and enabling foreign key checks from TSqlProvider
2026-02-15 19:00:29 +01:00
Ansgar Becker
c450f516b7
refactor: replace FSQLSpecifities with a TSqlProvider, and outsource many hardcoded SQL queries to the dbstructures.* units
...
Refs #667 and #1880
2026-02-15 15:04:22 +01:00
Ansgar Becker
c843b196b5
feat: create SQL export option for wrapping DML commands in a BEGIN/COMMIT transaction
...
This also
* removes the MyISAM-only ALTER TABLE .. DISABLE/ENABLE KEYS command, which in mid size tables costs more than it helps.
* shows the number of checked export options on the button caption
* saves settings when the user just closes the dialog, without having exported
Closes #1262
2026-02-12 18:06:59 +01:00
Ansgar Becker
211c5e2af7
fix: BIT values in MS SQL grid queries prefixed with MySQL b'' style
...
Closes #264
2026-02-11 14:52:26 +01:00
Ansgar Becker
564f77d9d1
Table data generator: generate missing values for geometry columns
2025-10-13 20:01:46 +02:00
Ansgar Becker
8beb135a50
Issue #2250 : use N(ational) prefix in MS SQL for any text value going through the second version of EscapeString(), supporting Unicode now when importing a file into a table.
2025-09-17 16:51:15 +02:00
Ansgar Becker
aaa9b23227
Issue #2212 : add type prefix to export file name, when exporting one file per object, to fix overwriting same filename for different object types
2025-07-13 14:27:35 +02:00
Ansgar Becker
7d6894569d
Table data generator: use only space, new line and letters in text columns, and limit to 1024 characters
2025-06-22 13:12:43 +02:00
Ansgar Becker
84f2e95e42
Create helper table with the servers' default engine when exporting a view. See https://www.heidisql.com/forum.php?t=44125
2025-06-02 17:24:00 +02:00
Ansgar Becker
3701c6054d
Issue #2168 : select rows from table to export by its primary key columns, so PostgreSQL does not apply a random sorting
2025-05-15 20:06:37 +02:00
Ansgar Becker
1e50935326
Issue #2155 : high DPI fix for painting icons in SQL export target drop-down
2025-05-13 19:01:01 +02:00
Ansgar Becker
b9bd95a65b
Issue #2155 : paint session background and icon in session drop-down of SQL export dialog
2025-05-09 14:25:04 +02:00
Ansgar Becker
b5e2f6ad98
Issue #2107 : add "invert check" menu item on table tools tree
2025-04-28 16:56:24 +02:00
Ansgar Becker
dc2aa45a7b
Issue #835 : move prompt for overwriting output file from save-dialog to later when exporting is started, catching cases where the previous filename is used
2025-01-30 11:40:12 +01:00
Ansgar Becker
8b4b5bd064
Issue #2050 : Add new line at end to support comments at the end of a view definition
2024-12-16 16:33:58 +01:00
Ansgar Becker
06ed74bdca
Issue #2009 : generate values for BLOB columns, and disable foreign key checks during generation
2024-09-17 20:31:01 +02:00
Ansgar Becker
854efdf734
Issue #2009 : basic implementation of a data generation tool, in table tools dialog
2024-09-09 17:40:53 +02:00
Ansgar Becker
a15a1713f7
Issue #1971 : downsize VARCHAR length to 1 for temporary tables for views, to work around "Row size too large" error
2024-06-26 11:42:08 +02:00
Ansgar Becker
5f413b63c4
Issue #1965 : show warnings from internal queries in user manager, CSV detector and table tools
2024-06-19 10:46:16 +02:00
Ansgar Becker
db014bda03
Use custom tab width and tabs-to-spaces setting uniquely in all places where we generate code. Provides a new CodeIndent() helper. Closes #1330
2024-05-19 12:22:43 +02:00
Ansgar Becker
e6b8d68afe
Issue #178 : fix now wrong calculation of selected objects size sum
2024-02-10 11:06:00 +01:00
Ansgar Becker
61f95c8239
Issue #178 : add database and table filter boxes to table tools dialog - same as on main form
2024-02-10 10:18:32 +01:00
Ansgar Becker
b8d587647b
SQL export dialog: cut long file list down to 20 latest items
2024-02-04 11:14:48 +01:00
Ansgar Becker
f3ce46af4d
Update VirtualTrees component code to release v7.6.6 from Jan 12 2024
2024-01-29 15:00:26 +01:00
Ansgar Becker
8507c85d19
Enhance readability of focused text in result grid using dark styles. TreeOptions.PaintOptions.toGhostedIfUnfocused grays out text otherwise. See https://www.heidisql.com/forum.php?t=41458
2023-11-11 15:02:01 +01:00
Ansgar Becker
d722bfed68
Issue #752 : leave away misleading comment for VIEW in second export pass
2023-10-31 17:46:01 +01:00
Ansgar Becker
a3f99e4f0f
SQL export: do DROP VIEW/TABLE/... only in first export pass, not even in the second one where we convert tables to views. In the second pass the original view is definitely dropped and DROP VIEW on the temp table generates an "xyz is not view" error on MySQL 8. Closes #752 .
2023-10-31 17:10:16 +01:00
Ansgar Becker
05a3e5df9a
Update VirtualTrees component code to release v7.6.5a
2023-10-15 11:19:09 +02:00
Ansgar Becker
86a8840cc0
Introduce TClipboardHelper.TryAsText, suppressing crashes when the OS blocks access to the clipboard. Replaces my previous GetClipboardAsText implementation.
2023-10-10 07:12:15 +02:00
Ansgar Becker
d28d03b6dd
Highlight active tab of most page controls, by adding greyscale icons to image list and using these for all inactive tabs. See https://www.heidisql.com/forum.php?t=41323
2023-10-03 13:34:28 +02:00
Ansgar Becker
587c88e574
Translation fixes: remove various unused strings, fix some wrong spelled strings, add some missing strings
2023-09-10 14:22:52 +02:00
Ansgar Becker
d9d1f26278
Auto detect need to create HTML clipboard header, remove CreateHTMLHeader parameter from StreamToClipboard()
2023-04-06 08:07:58 +02:00
Ansgar Becker
082574d340
Support canceling SQL export before a table's data has been completed. Closes #1516
2023-02-27 19:44:59 +01:00
Ansgar Becker
695a26eaf3
Ensure max INSERT setting is an Int64, so a huge value does not wrap into a negative value. See https://www.heidisql.com/forum.php?t=40393
2023-02-27 19:40:13 +01:00
Ansgar Becker
d96daa80b1
Issue #1738 : revert recent VirtualTrees update, back on master branch from 2022-06-18. Could not get query threads to work in 64 bit mode.
2022-12-31 11:26:24 +01:00
Ansgar Becker
ae883a0a80
Include some System.Generics.* units without using project's unit scopes or aliases
2022-12-29 17:59:23 +01:00
Ansgar Becker
84221a747b
Update VirtualTree component to release v7.6.3
2022-12-29 12:01:26 +01:00
Ansgar Becker
0d9de512cd
Remove unit scopes from project settings, prefer fully qualified unit names in uses clauses. Enhance readability and compiler performance.
2022-12-26 17:59:19 +01:00
Ansgar Becker
889a1b33c7
SQL export: Calculate a reasonable LIMIT clause when "Get full table status" session setting is disabled, causing AvgRowLen<=0. See https://www.heidisql.com/forum.php?t=40058
2022-12-04 20:17:51 +01:00
Ansgar Becker
f33ccc708f
Fix wrong finish message in log result, when doing something different than an export. See https://www.heidisql.com/forum.php?t=39913
2022-11-14 19:45:01 +01:00
Ansgar Becker
56a7218705
Add log message after finished export, to make it more noticeable the user has control again. See https://www.heidisql.com/forum.php?t=39913
2022-10-31 17:26:14 +01:00
Ansgar Becker
965e88b579
Delphi 11.1: fix VirtualTree package files, fix missing uses clauses, and some newly required type casts
2022-06-18 18:08:00 +02:00
Ansgar Becker
ddc634c5d2
Auto-fit result columns when compressing export file has finished. Closes #1617
2022-06-09 20:14:04 +02:00
Ansgar Becker
9ec40f0703
When deleting tab backup file, delete it to recycle bin, for cases where the user did that by accident. Same for snippet file and overwritten export/zip file. See https://www.heidisql.com/forum.php?t=39355
2022-06-08 19:25:33 +02:00
Ansgar Becker
25d15d8b41
Optimization: set up a single TSynMemo instance instead of all, e.g. when creating a new query tab
2022-05-25 13:16:27 +02:00
Ansgar Becker
be7a697733
Fix crash when SQL export fails to create output directory, cancel operation in that case
2022-03-27 09:04:39 +02:00
Ansgar Becker
d46716ff2e
Issue #1503 : reactivate DPI awareness, and try to read/write component dimensions DPI independently
2021-12-26 13:06:24 +01:00
Ansgar Becker
c23e5d3731
Fix generating mysqldump cli argument --databases with --tab
2021-10-17 11:50:58 +02:00