Howdy folksI'm having difficulties extracting the data I need from MS SQL Server, and hope that some bright spark can help me out.I have a memory based temp tableDECLARE @TT_CurrentVisitors TABLE(UID INT IDENTITY(1,1),VisitorID INT,LastLog DATETIME,PageID INT,PageTitle VARCHAR(150))
I then fill insert a number of rows filling the VisitorID and LastLog fields.I then need to update the temp table against another data source, something likeUPDATE @TT_CurrentVisitors AS TT_CVSETTT_CV.PageID = SELECT PageID FROM Pages WHERE VisitorID = TT_CV.VisitorID
Is this possible to do?
Please help!