-5
SELECT *
FROM [Live].[Test]
WHERE [_fk_RoadMapKey] = @_fk_RoadMapKey
SELECT @TestKey = [TestKey]
FROM [Live].[Test]
WHERE [_fk_RoadMapKey] = @_fk_RoadMapKey
SELECT *
FROM [Live].[SetofTestGrades]
WHERE [_fk_TestKey] = @TestKey
前兩個語句中,我們可以做到讓所有的測試,因爲我們分配語法將兩個存儲過程爲一個
SELECT * ,@TestKey = [TestKey] FROM [Live].[Test]
WHERE [_fk_RoadMapKey] = @_fk_RoadMapKey
這是怎麼涉及到合併兩個STO紅色程序? –