You can use dynamic SQL for this, however it is very prone to SQL Injection. DECLARE @a VARCHAR(20) = 'getdate()'; EXEC ('SELECT ...
確定! 回上一頁