Click here to Skip to main content
15,907,875 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
select datediff(PO.CreatedDate,gnr.UpdatedDate) as delay FROM purchaseorder PO inner join grnheader GNR on (GNR.POId = PO.Id)


i have this query and i got the result -343....
i want to remove the minus sign what todo? help me pls
Posted
Comments
jj1992 8-Apr-14 0:56am    
i have solved it ..............

1 solution

solved it by myself
==================
select datediff(gnr.UpdatedDate,PO.CreatedDate) as delay FROM purchaseorder PO inner join grnheader GNR on (GNR.POId = PO.Id)
first deate and last date inter changed
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900