× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
SachinPrakash reported Oct 26, 2012  · tariqrahiman last modified Feb 9, 2014

Parameterized Script bug when query contains multiple union clauses


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

Lets say I have the following query:

 

select * from scribe
where ServerName=&s1
union
select * from scribe
where ServerName=&s1
select * from scribe
where ServerName=&s1
union
select * from scribe
where ServerName=&s1

W/ parameterized scripts turned on, when I execute this query, I'm prompted to specify the value of 's1'. After specify & pressing "Execute" button, I get an error stating that I have an error in my SQL syntax. The generated query that ADStudio tries to execute is below. Notice that ADStudio did not substitue a value for 's1'

select * from scribe
where ServerName='s1'
union
select * from scribe
where ServerName='s1'
select * from scribe
where ServerName='s1'
union
select * from scribe
where ServerName='s1'

 

Issue #7873

Closed
Fixed
Resolved Nov 27, 2012
 
 
Completion
No due date
Fixed Build 13.0-rc-6
No time estimate

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