I would like to use a loop to process records from a cursor. Is it possible to get both column name and the column value from a single select statement? I've had a quick squint at Books Online but didnt find anything.
It may be a dum query but I'm fairly new to T-SQL!
Ta....... Chris