In Star Trek genarations, data is seen drinking alcohol which he hates, how is he able to taste and consume it, I remember form a previous episode in the series he is not able to consume food or liquid
In that scene in particular, he had previously installed Lore's emotion chip which is what causes the reaction
In the Season 1 episode "Datalore" - Lore "spikes" a drink that incapacitates Data. Data and Lore both seem to accept that they can drink.(this is just the music but a still from the scene is visible)
From the episode Deja Q:
Q What do I ask for? I've never eaten before. DATA The choice of meal is determined by individual tastes. Q What do you like? DATA Although I do not require sustenance, I occasionally ingest a semi-organic nutrient suspension in a silicon-based liquid medium. They sit at the bar. Q Is it good? DATA It would be more accurate to say it is "good for me" as it lubricates my bio-functions.
The (kinda canon, kinda not) supplement to the official Trek RPG game has a schematic of Cmdr Data's upper body. As you can see from the labelled diagram, his chest cavity includes a "digestive enhancer" (with a label that goes behind his body to where his anus would be), strongly implying that he can ingest food and drink as well as disposing of it in a convincingly human fashion.