Demerol is good for moderate to severe pain. It is a habit forming medication and have addiction liabilities. It can affect the though process and decision making. It decreases the pulse and respiration, as a side effects. Constipation, nausea, weakness and dizziness are the other side effects. It is a prescription product, so should be used only by those for whom it has been prescribed.
Read about the side effects and other details;
Please feel free for your follow up questions.
Demerol alone should be able to take care of your headache and sleep. Ambien and trazodone should be avoided with demerol. Since midrin is not effective, you should consult your physician for alternative medication for your migraine headaches.