Reading a single field from table

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

I need to run a simple select query like below;

select field1 from mytable where id = 123

and assign the returned value of field1 to a variable. What is an easy way
to do this?

Thanks

Regards
 
Back
Top