At first I used the way to add a conditional statement that is always false, such as Select * from Sometable where 1 = 2
Later, I only need to use the Fillschema method of OLEDBDataAdapter. A word is awake in a dream.