Viewing 6 posts - 1 through 7 (of 7 total)
yes 
sir
will try to format for sure
thanks a million
regards
hemu
February 8, 2019 at 6:03 am
sir
i have tried query after modifying same as below
--------query
declare @query nvarchar(max),@col nvarchar(max);
--declare @frdate datetime='01-jan-2019',@todate datetime ='31-jan-2019';
DECLARE @frdate date = '20190101', @todate date = '20190131';
select...
February 8, 2019 at 5:42 am
sir
excuse my shabbiness
i am  a newbe ro sql
one   more question ... may be very absurd
what  is xtab .........?
please explain
February 8, 2019 at 5:24 am
hi
thanks 
here is my whole code
i have masked table names  on security grounds
--------------------------
declare @query nvarchar(max),@col nvarchar(max);
declare @frdate datetime='01-jan-2019',@todate datetime ='31-jan-2019';
select @col=
STUFF((SELECT...
February 8, 2019 at 5:06 am
hi
please help 
i am trying to use pivot clause in a query
declare  @sql nvarchar(max);
declare @frdate datetime =;01-jan-2019',@todate datetime ='31-jan-2019' 
set  @sql= select  entrydate,id,amt from xtab where entrydate...
February 8, 2019 at 4:08 am
Viewing 6 posts - 1 through 7 (of 7 total)