Store procedure

See answer in http://forums.sqlteam.com/t/column-is-null-from-sp/11993/2