The investigators designed a study to determine whether dexmedetomidine versus midazolam combined with spinal anesthesia would provide same postoperative sleep quality in patients undergoing transurethral prostatic resection.The bispectral index score (BIS) was monitored during the operation and the first postoperative night