In a SQL 2K SP, how can I select 2 columns into 2 variables w/out specifying a DECLARE/OPEN/FETCH/CLOSE Cursor.
Example: (this SQL is not working)
declare @PostStartDate datetime, @PostEndDate datetime
select PostStartDate, PostStartDate
into @PostStartDate, @PostEndDate
from AuditJob
Example: (this SQL is not working)
declare @PostStartDate datetime, @PostEndDate datetime
select PostStartDate, PostStartDate
into @PostStartDate, @PostEndDate
from AuditJob