Viewing 15 posts - 16 through 30 (of 141 total)
Adiga (11/18/2010)
The Error number will not be printed in SQL Server Error Logs. Please navigate to Application Event Log, you will find the error number listed there.
Thanks for the direction.
November 18, 2010 at 8:32 am
Adiga (11/17/2010)
USE [msdb]
GO
EXEC msdb.dbo.sp_add_alert @name=N'833Alert',
@message_id=833,
@severity=0,...
November 18, 2010 at 8:27 am
Paul White NZ (10/13/2010)
craig-404139 (10/13/2010)
October 13, 2010 at 9:11 am
I really appreciate the help everyone. I was able to figure out the code I need. Couldn't have done it without you guys.
FYI this is my final working code...
October 13, 2010 at 8:51 am
Paul White NZ (10/13/2010)
craig-404139 (10/13/2010)
October 13, 2010 at 8:44 am
Paul White NZ (10/13/2010)
craig-404139 (10/12/2010)
select @col1,@col2
from blahblah
Using a...
October 13, 2010 at 8:26 am
Craig Farrell (10/8/2010)
craig-404139 (10/8/2010)
And one window with the gap range(s). Not sure why the the query to identify the gaps is stripping off the prefix and leading zeros. Ideal output...
October 8, 2010 at 5:01 pm
Same weird results. Ideally it would return one window with the ranges of sequential numbers:
PPCI000000001 - PPCI000737004
PPCI000737006 - PPCI000737008
PPCI000737010 - PPCI000999797
PPCI000999799 - PPCI001346237
PPCI001346239 - PPCI001350957
PPCI001350959 - PPCI001462904
PPCI001462906 - PPCI001620876
PPCI001620878 -...
October 8, 2010 at 4:39 pm
I am getting weird results from the #contiguous table. It looks like:
PPCI412903540
PPCI7102903235
PPCI1932903562
PPCI2122853875
PPCI1022903952
PPCI131402902866
PPCI8592903560
PPCI1452903559
PPCI5492903970
PPCI11452900794
PPCI632903558
PPCI12542903556
PPCI33962903208
PPCI902903539
October 8, 2010 at 4:17 pm
Craig if you were local i'd buy you a beer. We killed 2 birds with one stone. I needed to identify the ranges of sequential numbers (my code) and the...
October 8, 2010 at 3:39 pm
Craig Farrell (10/8/2010)
Pattern GapStart GapEnd
-------- -------------------- --------------------
PPCI ...
October 8, 2010 at 3:30 pm
Did you delete the 'null' endno rows? If so I ran your code against mine and it didnt find any. try running my code against yours and see what happens?...
October 8, 2010 at 3:10 pm
I think i'm on to something. The below code works if I strip out the PPCI prefix. (Used a update/replace statement on the test table) Runs in a few seconds....
October 8, 2010 at 3:00 pm
Craig Farrell (10/8/2010)
Found them, the sample rows:2048205PPCI000737005NULL
2048206PPCI000737009NULL
2048207PPCI000999798NULL
2048208PPCI001346238NULL
2048209PPCI001350958NULL
2048210PPCI001462905NULL
2048211PPCI001620877NULL
2048212PPCI001620882NULL
2048213PPCI001620891NULL
2048214PPCI001620899NULL
2048215PPCI001620909NULL
2048216PPCI001620957NULL
2048217PPCI001620962NULL
They appear to be single page docs. Is this expected in the data?
Technically yes. But you can discard those rows or update the...
October 8, 2010 at 2:52 pm
Craig Farrell (10/8/2010)
craig-404139 (10/8/2010)
CSV file attached.First column = id
Second column = controlnumber
Third column = endno
That worked. Alright, so we're looking at taking two unique values, figuring out the 'fill',...
October 8, 2010 at 2:48 pm
Viewing 15 posts - 16 through 30 (of 141 total)