Viewing 15 posts - 5,251 through 5,265 (of 6,486 total)
Try looking up "Parameter sniffing"
You might have a shot at getting it to behave better with this simple change:
create procedure [dbo].[CalculateActivityTotal] (
@periodstartdate datetime = '2007-01-01',
@periodenddate datetime = '2007-01-08',
@hsgradyearstart int...
January 15, 2008 at 10:10 am
Try:
select twd.*
from
TransWorkDetail twd
INNER JOIN TransLineItem TLI on twd.SalesLineItemId =tli.SalesLineItemId
INNER JOIN TransHeader th on th.TransHeaderID...
January 15, 2008 at 10:03 am
Jeff Moden (1/15/2008)
Adam Haines (1/10/2008)
January 15, 2008 at 9:15 am
Ray (1/15/2008)
Did you use RedGate tools? If so i have them as well.
Ray - take a little closer look at Andras' signature....:D
I'd say it's a fair bet that he has...
January 15, 2008 at 9:04 am
Steve Pitt (1/15/2008)
January 15, 2008 at 8:51 am
Michael Valentine Jones (1/15/2008)
Joseph Hicks (1/15/2008)
You should be aware that the MAC address can be changed dynamically, so a restriction based on MAC address is not foolproof.
The old DECnet protocol...
January 15, 2008 at 8:43 am
Nope - still wouldn't use periods. The fact that it would only rarely end up in T-SQL doesn't much change what others have already mentioned in my mind.
Of course...
January 15, 2008 at 8:14 am
Are you continually testing this thing using Query analyzer or SSMS? If you are - you might simply be getting that because the temp table isn't being cleaned up...
January 15, 2008 at 8:00 am
I call that "changing the bag on the coffee infusion"....:w00t:
January 15, 2008 at 7:48 am
The only downside I've heard is something about a "security flaw" which when described seemed a bit far-fetched to me. Because the file doesn't reinitialize the data - it...
January 15, 2008 at 7:44 am
A few thoughts:
- If you can't fill the position for long periods of time, or you seem to only get marginally qualified people, perhaps it's time to either change...
January 15, 2008 at 7:21 am
Now keeping in mind that dynamic SQL can be very dangerous when you use it around GUI system (SQL injection ,etc....) You could try something like this
Declare @myTable sysname
declare @columnnames...
January 15, 2008 at 7:11 am
In short - at any time between the BEGIN TRAN and the COMMIT.
So -
BEGIN TRAN
(do whatever you need to do)
(test that it did what you want)
COMMIT TRAN
or
ROLLBACK
Keep in...
January 14, 2008 at 6:12 pm
Try rewriting it as a dervied table instead of a CSQ and see if you get more results. If you don't - skip the highlight criteria, turn that oin...
January 14, 2008 at 5:54 pm
Jeff Moden (1/14/2008)
Heh... it's always an option if the nail in the bat is large enough and you can find the designers that put the screws to your data 😉
Jeff...
January 14, 2008 at 4:52 pm
Viewing 15 posts - 5,251 through 5,265 (of 6,486 total)