>hola , im new
>it is possible to hava a string variable Myvariable and make a query like
>select Myvariable,name from table....?
>i keep an id in Myvariable
Yes. However all rows would have constant value of that variable (prefix it with m. to be explicit and to prevent name clashes) and I'm not sure your intent is that.
Cetin