does this come with any SD card or internal memory good enough? First time buying a camera.
No, get a 8GB+ Card and you'll be taking thousands of pics to fill the card.
I have a D40X and love it. Your fist major purchase after getting this should be the 1.8f 35mm lens then an external flash (in that order) cuz flash photography can be fun, even in sunny daylight