There's the strategy of building the string to pass through. If there's a better way I'd sure love to know. Counting tick marks gets old.
DECLARE @UID char(9),
Set @UID = '123456789'
Set @Query = 'SELECT *
FROM OPENQUERY(LINKED_SERVER,''SELECT *
WHERE UID = ''''' + @EID + ''''''')'