2
안녕하세요, 입력했거나 볼 때 결정할 코드를 확인하는 다음 쿼리가 있습니다. 내가 그것을 제공이 쿼리를 실행하려고하면select 쿼리에서 여러 case 문 사용
declare @timestamp datetime;
select
case @timestamp
when a.updatedDate =1760 then 'Entered on' +a.updatedDate
when a.updatedDate=1710 then 'Viewed on' +a.updatedDate
else 'Last Updated on'+ a.updatedDate
end
from t_mainTable a
where [email protected];
나 일부 syntex 오류가 때 라인이
Msg 102, Level 15, State 1, Procedure p_xxxx, line 40
Incorrect syntax near '='.
오류가 발생했습니다. 날이 감사를 해결하는 방법을 알려 주시기 바랍니다
'@ 타임 스탬프 '를 제거하십시오. –