Viewing 15 posts - 9,346 through 9,360 (of 18,923 total)
1 : Restore table from backup
2 : Make sure you always have a backup
3 : NEVER EVER WORK ON PRODUCTION SERVER.
4 : Search these forums. That answer is posteds few times...
September 10, 2007 at 2:42 pm
Did you check the execution plan of the slow reports' queries?
Maybe there's just a small thing that changed the normal plan.
When did you update the stats?
When was the last...
September 8, 2007 at 7:39 pm
Test it both ways. The advantage of the <> method is that the server will do less writes on the HD (which is usually the slowest operation to do on...
September 6, 2007 at 11:09 am
I'd like to see that source too. I don't see any reason for any version to be any faster. In fact, the numeral version will be depreciated soon.
September 5, 2007 at 11:34 am
I will even suggest one step better :
SET @MyVar = ISNULL((SELECT ColName FROM Table WHERE Condtition = Returns1RowOnly), '')
That way if hte select returns more than 1 row, the...
September 4, 2007 at 12:18 pm
Or then again, maybe Steve is above your average Joe DBA
.
September 3, 2007 at 8:32 pm
You can't use a select to return data and set a variable at the same time. You must do this in 2 steps.
Also you must consider that the select can...
September 3, 2007 at 2:28 pm
It's not a good idea to put those values directly in the code. You're better off putting them into a table a selecting from that table.
September 3, 2007 at 2:26 pm
You can't do that.
With more details we could provide an alternative...
September 3, 2007 at 2:11 pm
NP. Those are good memories. Makes me see how much I've grown in the last 2 years.
September 1, 2007 at 7:30 am
11/2/2004
I was still in my first months then
.
September 1, 2007 at 7:17 am
Viewing 15 posts - 9,346 through 9,360 (of 18,923 total)