I am using 7.0 and trying to generate a sql statement that
allows me to a select a column that is defined as a
Basically something like in a stored procedure......
Declare column varchar (30)
Declare value varcar (30)
set column = 'fname'
select value = column from namelist where lname
What I get back is that value 'fname' not the first name I
was searching for. If I try to set up the string and to an
exec() the statement runs, but I cannot store result, I
receive an error that value was not declared.