Sleeping through the night

Marissa
When is it ok for my baby to sleep through the night? I've heard different opinions about this subject as to you have to wake baby to eat and also never wake a sleeping baby...