Home Forums SQL Server 7,2000 SQL Server Newbies Stored Procedure drop table RE: Stored Procedure drop table
brandy.britt
SSC Rookie
Points: 47
More actions
January 8, 2014 at 1:28 pm
#1678575
ALTER PROCEDURE [dbo].[usp_PickHistoryReportTbl]
AS
BEGIN
TRUNCATE TABLE Tbl_PickHist;
INSERT INTO dbo.Tbl_PickHist (LastPick,ComponentItemNumber,IssuedQuantity)
SELECT * FROM S_PickHistory2
END
This works