select [name] from sysobjects where [id] in (select [id] from syscolumns where [name]='ReceiptNbr') --
ReceiptNbr为想要查询的字段名