I wanted to know if its possible to set the values of declared variables by using a case statement. example:
CASE
WHEN fieldValue ='stringValue1' THEN SET @DeclaredVar1 = 100
END
I wanted to know if its possible to set the values of declared variables by using a case statement. example:
CASE
WHEN fieldValue ='stringValue1' THEN SET @DeclaredVar1 = 100
END
Copyright © 2021 Jogjafile Inc.
You are on the right track, but syntax you've used is incorrect. It should be