Getting Post (Page) data outside of the loop

I have an ajax page being called that I would like to grab all page content (by id, slug, whatever) and capture it in a variable to be sent back to the modal window. I have tried everything but the simple line: $post = get_post(10); causes the following php error in my log:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE ID = 10 LIMIT 1' at line 1 for query SELECT * FROM WHERE ID = 10 LIMIT 1 made by

For some reason it is not picking up my database table name which is what is causing the error. I have tried global $post; global $wp_query; global $wpdb; but still the lack of a database table persists.

What sayeth the group ?

Thanks.

Jay