I am writing a groovy script to read a database table and am having trouble with the sql statement. I need to pass it two parameters but it seems i can not get the syntax correct.
ex: def sSql = "select field from table where Segment = $sSegment and Service = $sService"
Would someone be able to show me the correct syntax to pass a parameter to the sql statement?
Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events