Running SQL script as part of another... (including by using @ char)
See original GitHub issueHi,
notice feature in sqlplus and sqldeveloper:
select * from foo limit 1;
@nameOfScript.sql
drop database bar;
will “include” nameOfScript.sql into that listing… QUESTION - is dbeaver have any similar feature?
And, do anybody want to have it?
Docs here
Best regards.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
SQL Substring function overview - SQLShack
Using the SQL Server SUBSTRING function, the input values are truncated using CHARINDEX or PATINDEX function to get the date-time value.
Read more >EXECUTE (Transact-SQL) - SQL Server - Microsoft Learn
In this article. Syntax; Arguments; Remarks; Using EXECUTE with Stored Procedures; Using EXECUTE with a Character String; Context Switching ...
Read more >Run SQL Scripts - unreadable characters - IBM
Using Run SQL Scripts to display a character column results in unreadable characters that look like hexadecimal.
Read more >SQL SELECT WHERE field contains words - Stack Overflow
Split @str by @sep -- Returns all parts CREATE FUNCTION [dbo].[fnSplit] ( @sep CHAR(1), @str VARCHAR(512) ) RETURNS TABLE AS RETURN ( WITH...
Read more >5 Using Scripts in SQL*Plus - Oracle Help Center
In SQL*Plus command-line, the use of an external editor in combination with the @, @@ or START commands is an effective method of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In 4.1.2 DBeaver will support following syntax:
file-name
is relative or absolute file path.See https://github.com/serge-rider/dbeaver/wiki/Client-side-scripting for details.
If other database-specific syntax is needed - please create separate feature requests.
These issues are related (both requires DBeaver to analyze script content and extract meta-information) but still different - and will be resolved separately. Will set 3.8 milestone although it is not final.