-
-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Labels
documentationDocumentation may be added or completed on the portalDocumentation may be added or completed on the portal
Description
Reviewed documentation on calling stored procedures and SQL commands, and I would like to know:
- is it possible to retrieve and pass further stored procedure output into the pipeline? Based on the documentation:
ToSqlCommand always returns the input events as is.
; - if script used in
ToSqlCommand
has variable declarations like:
DECLARE @typeVar Char(1) = 'A';
SELECT * FROM dbo.myTable WHERE type = @typeVar;
How we could use @ within, isn't it reserved for parameter injection from upper stream? Checked the code, and its a bit strange to use @ for params, as @ is used in MS SQL for variable definitions and @@ for system variables as well.
redashimself
Metadata
Metadata
Assignees
Labels
documentationDocumentation may be added or completed on the portalDocumentation may be added or completed on the portal