Hi Anukul,
This is the code i got worked.
/*
EXECUTE [SPGET_QUERY_HTML] 'select * from yourtablename'
SELECT * FROM ##TEMPhtml1
SELECT * FROM ##TEMPhtml2
*/
Create procedure [dbo].[SPGET_QUERY_HTML]
( @p_sqlstmt varchar(8000))
as
declare @columns varchar(8000)
declare @finalhtmlout varchar(8000)
declare @colHeader varchar(8000)
declare @Final...