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:
What do I ask for? I've never
The choice of meal is determined
by individual tastes.
What do you like?
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.
Is it good?
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.