Well!
I managed to write a query...
Thanks for your response though!
CREATE TABLE #Input (OldAsset Char(20), CurrAsset Char(20), Status Char(3), InpSrlNo INT Identity(1,1), InpProcstat char(1))
INSERT INTO #Input (OldAsset, CurrAsset, Status, InpProcStat)
VALUES
('A1', 'A2', 'CAN', 'N')...