× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
SachinPrakash reported 2015-01-28T17:05:34Z  · tariqrahiman last modified 2015-02-20T22:57:23Z

Parameterized Script: User would like to declare a variable and use it in a filename for export


customer request
Dev
Kin-Hong Wong
kin-hong
QA
Tariq Rahiman
tariqrahiman
Priority Major
Complexity Unknown
Component Q Analyzer - Parameterized Scripts
Version 15.0


We try to do a select and declare a date-variable like that way:

SELECT FROM database_files

go

 

DECLARE @PartOfFilename datetime

SET @PartOfFilename =  GetDate()

go

 
This syntax is not supported in ADS.  Enhancement request is to support the below query in ADS.
 
select * from bi
go
.saveResults 'Format=Excel,
        Source=Grid,
        File="/Users/s/Downloads/results_\&PartOfFilename={d}.xls",
        Overwrite=true,
        IncludeChart=false,
        IncludeHeader=true,
        IncludeNullText=true,
        IncludeRowCount=false,
        IncludeSQL=true,
        AlternateRow=false,
        AlternateRowBackground=#f8f8f8,
        AlternateRowForeground=#000000'
GO

 

4 attachments

Issue #13064

Closed
Fixed
Resolved 2015-01-28T17:07:22Z
 
 
Completion
No due date
Fixed Build 15.0.11-2
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017