Contributions
- 8 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes2Comments
SQL where in groovy script
Hi, The following groovy script does nothing: def cmd = /sqlcmd -S 127.0.0.1\MSSQLSERVER -d LocalDevelop10DB -Q "DELETE FROM T_TimeRegistration WHERE TimeRegLineNr > 36"/ cmd.execute() While this groovy script works perfectly: def cmd = /sqlcmd -S 127.0.0.1\MSSQLSERVER -d LocalDevelop10DB -Q "DELETE FROM T_TimeRegistration WHERE TimeRegLineNr = 37"/ cmd.execute() I want to use the (effects of) first script. It seems the '>' character is somehow not supported, I tried escaping it but no joy. What am I missing, can someone help? ThanksSolved8 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes3Comments