try
CREATE PROCEDURE Test @CustomerID char(5)
ASCREATE TABLE #tb
(
col char(5)
)set nocount on
INSERT INTO #tb (col) VALUES (@CustomerID)
set nocount off
SELECT col FROM #tb
DROP TABLE #tb