Heat the oven to 350°F. Grease an 8x8-inch baking dish (or similar 2-quart dish).
In a large bowl, whisk the sour cream, eggs, and melted butter until smooth.
Stir in the drained corn, cream-style corn, cornbread mix, salt, and pepper until just combined. Do not overmix.
Spread the batter in the prepared dish. Bake 40 to 50 minutes, until the edges are golden, the center is only slightly jiggly, and an instant-read thermometer in the center reads 165°F (FoodSafety.gov safe minimum for casseroles). A knife near the center should come out mostly clean.
Cool 10 minutes before serving. Refrigerate leftovers within 2 hours.