Use WPSC_Country_region rather than go direct to the database.
Use WPSC_Checkout_Form rather than go direct to the database.