verybrightstar
07-04-2003, 12:54 AM
i can this store procedures
CREATE PROCEDURE sp_GetCustomerData
DECLARE @SQUERY AS NVARCHAR(500)
SET @APPENDTYPE = 'ID,NAME'
SET @SQUERY = N'SELECT ' + @APPENDTYPE + N'FROM CUSTOMER'
EXECUTE SP_EXECUTESQL @SQUERY
how to do retrieve the data for the id and name because i need to retrieve the data for manipulation purpose.
CREATE PROCEDURE sp_GetCustomerData
DECLARE @SQUERY AS NVARCHAR(500)
SET @APPENDTYPE = 'ID,NAME'
SET @SQUERY = N'SELECT ' + @APPENDTYPE + N'FROM CUSTOMER'
EXECUTE SP_EXECUTESQL @SQUERY
how to do retrieve the data for the id and name because i need to retrieve the data for manipulation purpose.