I am trying to run a SQL Query in ALM12 like the following
select count(*) from sample where name = 'sam' and date = '01/01/15'
Is there any way i can assign the values (sam, 01/01/15) to variables and use them in the query ?
After some searching i tried the following, but its not working; getting QC cannot run the query because it contains invalid arguments...
DECLARE @name varchar(20)
set @name = "sam"
Kindly help.
↧