DateDiff problem
From: Strugglin' (Strugglin'_at_discussions.microsoft.com)
Date: 11/05/04
- Previous message: Hari: "Internal SQL Server error."
- Next in thread: Steve Kass: "Re: DateDiff problem"
- Reply: Steve Kass: "Re: DateDiff problem"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 5 Nov 2004 06:27:03 -0800
I have a db with a table that records details about order transactions. The
main columns I am concerned about are the "Transacton_Type" column and the
"Date_Time" column. Each order has more than one transaction/rows in the
table (ie. Pending, Shipped, etc...), with each transaction having its' own
time stamp (as opposed to a table with a Pending column and a Shipped
column). How can I use the DateDiff function to give me the difference
between the Pending date and Shipped date for each Order (uniquely referenced
in a "P.O." column) if the timestamp for each transaction exists in the same
column. Is this even possible?
- Previous message: Hari: "Internal SQL Server error."
- Next in thread: Steve Kass: "Re: DateDiff problem"
- Reply: Steve Kass: "Re: DateDiff problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|