Viewing 6 posts - 1 through 7 (of 7 total)
That's great, many thanks. tbl_BPMCutOffDate only ever has one date, also thanks for spotting the tidy up on the outer join.
October 31, 2008 at 3:36 pm
Wow, completely different way of thinking... many thanks. Hopefully I'll start mastering the dark art 😀
September 16, 2008 at 3:43 pm
Thanks for the response.
I don't use : WHERE tbl_BPMStockDelays.bCutOffDate = 1 as where bCutOffDate i want to retrieve a value to use as criteria in a where clause at row...
September 16, 2008 at 6:44 am
The table tbl_BPMHDR is really needed as it is only used for sorting by a field in that table :
tbl_BPMStockDelays :
CREATE TABLE [dbo].[tbl_BPMStockDelays](
[TimeStamp] [timestamp] NOT NULL,
[ExtractDate] [smalldatetime] NOT NULL CONSTRAINT...
September 15, 2008 at 12:50 pm
Please find my code as below... please feel free to highlight any errors and any alternative approaches that could be taken.
ALTER PROCEDURE [dbo].[sp_BPMUpdateStkDlyOrd]
@QTY smallint = NULL
AS
BEGIN
SET NOCOUNT ON;
BEGIN TRANSACTION
--OUTER...
September 15, 2008 at 10:03 am
Hi, thanks for the replies so far... I'm now at home so my code isn't at hand but logically it's still in development and hence incomplete.
Basically i'm looping through future...
September 11, 2008 at 2:11 pm
Viewing 6 posts - 1 through 7 (of 7 total)