I have and address table with the following columns:
- addressId
- buildingName
- streetNo
- streetName
- streetType
- subAddressNo
- subAddressType
- suburb
- postCode
- state
What I want is to SELECT * from address where addressId = @addressId, and that return would be all columns concatenated into one string. Something like:
set @addressString = (SELECT * from address where addressId = @addressId)