Viewing 8 posts - 1 through 8 (of 8 total)
I got the required output. Please find below query
select
a.RequestId,a.ResolverGroup,a.datecreated RecvdDate
,lead(a.datecreated) over(order by a.datecreated) processdate Processdate
from Requestdetails a
AND b.StateName in ('Submitted','Assign To')
AND a.RequestId in (123)
October 1, 2018 at 12:47 am
Thanks for your solution.
It is working fine in Sql server 2005.
But problem is we are using Sql server 2000
Can provide me the soultion in Sql server 2000
regards
Prakash
July 5, 2009 at 12:40 am
Actuall i have 3 table StuffTbl,ContainerTbl,ContainerTypeTbl,
StuffTbl contians FormId,CreatedBy,POD Columns.
ContainerTbl Contains FormId,ContainerTypeId(Ref key ContainerTypeTbl),StuffId(Ref key StuffTbl),Remarks
ContainerTypeTbl contains continerid,Type.
StuffTbl data
FormIdCreatedByPOD
1Rocky ...
April 28, 2008 at 3:32 am
Thanks for your reply
Can i have output in one column rather than 3 colums
April 25, 2008 at 1:36 am
Thanks for your reply,
Is there any possiblity with any corelated query or subquery not by assinging to a variable
January 30, 2008 at 6:40 am
Dear All
I want the output in this way
Days No of.Requests
Mon 5
Tue 6
Wed 7
Thu 3
Fri 2
Sat 1
I will pass only the date to the query
Pls help me to solve this problem
December 3, 2007 at 9:07 pm
Viewing 8 posts - 1 through 8 (of 8 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy