crasho2001
Technical User
I have following statement in my stored procedure. From first two rows I can see the values for variables.
"where ce = @ce" is also working. But " (id not like "{@bc,%" or id not like "{%,@bc,%" or id not like "%,@bc}" " is not working.
How can I pass @bc to " (id not like "{@bc,%" or id not like "{%,@bc,%" or id not like "%,@bc}" " .....
select @ce
select @bc
select bs,ce,bc,id from int where ce = @ce
having(id not like "{@bc,%" or id not like "{%,@bc,%" or id not like "%,@bc}"
"where ce = @ce" is also working. But " (id not like "{@bc,%" or id not like "{%,@bc,%" or id not like "%,@bc}" " is not working.
How can I pass @bc to " (id not like "{@bc,%" or id not like "{%,@bc,%" or id not like "%,@bc}" " .....
select @ce
select @bc
select bs,ce,bc,id from int where ce = @ce
having(id not like "{@bc,%" or id not like "{%,@bc,%" or id not like "%,@bc}"