Domanda

I'm trying to make an update query, I've added Holiday ID,Holiday Name, and Cost to the query and am trying to find a way to set the criteria for Holiday Name to select Thanksgiving, Christmas, and New Years. I thought it would be simply

[Holiday Name]="Thanksgiving" "Christmas" "New Years"

but that didn't turn out very well. Any and all help is much appreciated.

È stato utile?

Soluzione

Try:

WHERE [Holiday Name] in ('Thanksgiving', 'Christmas', 'New Years');
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top