Viewing 15 posts - 4,921 through 4,935 (of 5,504 total)
8kb (9/21/2009)
But I'm wondering if 25 seconds sounds reasonable for the scenario described...
As usual: it depends.
A few questions (aside of the standard questions for server load, available CPU a.s.o.):
How many...
September 21, 2009 at 9:20 am
Sounds like a job for Jeff Modens Dynamic CrossTab[/url].
Please follow the link and let us know if you get stuck again.
September 21, 2009 at 5:16 am
edit: identical post.
September 20, 2009 at 3:02 am
edit: identical post.
September 20, 2009 at 3:01 am
untested, but it should work:
IF EXISTS(SELECT 1 FROM mytable WHERE name ='myname')
SELECT name, address, '12345' as zip from mytable WHERE name ='myname'
ELSE
SELECT 'name' AS name, 'address' AS address, '12345' as...
September 20, 2009 at 2:59 am
Using your sample data from above and the CTE you already provided I added another recursive CTE to get the total amount of products pe section id.
Then I eliminated all...
September 18, 2009 at 3:27 pm
Would something like the following help?
Please note the way sample data are posted...
DECLARE @Number Table (Number int, Status_id int)
INSERT INTO @Number
SELECT 123400 ,1 UNION ALL
SELECT 123401 ,2 UNION ALL...
September 18, 2009 at 12:09 pm
Here's an example that might work. It's completely untested due to the lack of sample data. Therefore, I used a SELECT instead of DELETE statement.
It doesn't require the temp table...
;WITH...
September 17, 2009 at 4:27 pm
It would be really helpful to see the proc itself than guessing from what you described.
Based on your description: it's unlikely to happen...
September 17, 2009 at 1:05 pm
One reason you don't have any replies yet might be that it takes too much effort to create a test environment.
Please read and follow the link in my signature on...
September 17, 2009 at 1:02 pm
What have you tried so far?
If you don't have a point to start at:
You need a CROSS JOIN between your GROUPed numbers (reduced to either the LEFT 4 character or...
September 17, 2009 at 12:58 pm
Grant Fritchey (9/17/2009)
...Maybe my skin is getting thicker or scar tissue is building up....
Scar tissues are distinctive marks for front line warriors!
And you're definitely one of them 😉
September 17, 2009 at 12:21 pm
Once it a while it's required to point out that we're all volunteers who are willing to help. The link above is just one possible way to transfer the message....
September 17, 2009 at 12:15 pm
Grant Fritchey (9/17/2009)
September 17, 2009 at 12:05 pm
This link should help you further.
September 17, 2009 at 11:57 am
Viewing 15 posts - 4,921 through 4,935 (of 5,504 total)