Viewing 15 posts - 16 through 30 (of 107 total)
I found this also. Seems to work. Takes less code.
SELECT * FROM TABLE
WHERE (@CUST='' OR CUSTNMBR IN (SELECT LTRIM(item) value FROM dbo.DelimitedSplit8K(@cust,',')))
October 4, 2013 at 12:45 pm
That makes sense. I'll see if I can get that to work.
Thanks
AA
October 4, 2013 at 10:52 am
Do you have this line at the top of your sp? That's helped me in the past.
SET NOCOUNT ON;
October 4, 2013 at 9:56 am
I have over 30,000 customer IDs. Reading the split, it looks like it can handle 8,000 characters.
October 4, 2013 at 9:23 am
I've tried the Draw side by side, but it doesn't do the trick. No matter what I have tried, I always wind up with a Gantt chart, even when...
August 7, 2012 at 6:48 am
Sean Lange (7/23/2012)
I think you should take a look at this article. http://www.sqlservercentral.com/articles/T-SQL/71550/[/url]It seems to be exactly what you are looking for.
I'll mess with his logic and see if I...
July 24, 2012 at 7:53 am
Lynn Pettis (7/23/2012)
Why is there no interuption between rows 5 and 6?
The start date on 6 is before the end date on 5, so it would be continuous.
July 23, 2012 at 3:28 pm
fahey.jonathan (1/18/2012)
Sean Lange (1/18/2012)
January 18, 2012 at 1:41 pm
The Merge and Output worked like a charm.
Thanks
January 18, 2012 at 10:16 am
Thanks. Briefly looking at it, I think it might be what I need. I have also been reading about Ident_Current, Scope_Identity and @@Identity. Output is looking like...
January 18, 2012 at 8:16 am
A couple of guys that I talked with here mentioned dropping the index as well and then add it back. Maybe one day one of us can take ownership...
October 28, 2011 at 6:24 am
This one is not a dedicated SQL server though. What raised my concern is 100% memory being used and nothing was available. Right now with the 6gb max...
July 19, 2011 at 3:55 pm
I moved it up to 6gb last night after I did some maintenance. That gives me 2gb for the OS and the ERP. I'll just watch it for...
July 19, 2011 at 8:45 am
Viewing 15 posts - 16 through 30 (of 107 total)