You need to repeat the expression, or use a subquery or cte. If you are running SQL Server (as your code suggests): select datediff(day, '2012- ...
確定! 回上一頁