select c.name as SC_DATA_COL_NAME from sys.tables v,sys.columns c where v.object_id=c.object_id and upper(v.name)=upper(@name)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)