select number from master..spt_values where type='P' and number<24 转载于:https://www.cnblogs.com/byfcumt/p/7287015.html