Need an example of code that would run a simple SELECT from a DB and how to assign the returned rows to variables, so that the can be used elsewhere in the script.
(ie. SELECT id, lastname, state FROM Address WHERE id = '12345' then assign lastname and state to variables that can be used locally in the script.
Thanks.
(ie. SELECT id, lastname, state FROM Address WHERE id = '12345' then assign lastname and state to variables that can be used locally in the script.
Thanks.