Add the whole corn, creamed corn, egg, Cheddar, cornmeal, sour cream, butter, chives, sugar, baking soda, 1 1/2 teaspoons salt and a generous amount of black pepper to a large bowl and stir until well combined.
Pour the mixture into a 2-quart baking dish and bake until lightly golden on the outside and set in the middle, 30 to 35 minutes.