Select All Customer Info with Magento Query

customercustomer-addressMySQL

I am looking for a query with all the customer info that I can dump into a CSV from SQL. I am working with a broken site and the customer wants all the customer info.

Please don't write one yourself as I can do that, just seeing if anyone has one already written.

Best Answer

Just dump the SQL from

Mage::getResourceModel('customer/customer_collection')->addAttributeToSelect('*')->load(true);