Hello,
I am getting the following error message when tryin to run the code listed below:
Server: Msg 241, Level 16, State 1, Line 1
Syntax error converting datetime from character string.
Code:
SELECT T1.EMPI, T1.DATE, T1.VALUE
FROM plmCombinedLab AS T1
WHERE T1.EMPI IN
(SELECT TOP 2 T2.Date...