Viewing 15 posts - 7,426 through 7,440 (of 14,953 total)
The Dixie Flatline (12/15/2009)
Barry (aka MISTER 10K) made an heroic effort to participate in the final sprint down the stretch and everyone...
December 15, 2009 at 11:24 am
Are you doing an exercise aimed at creating deadlocks? That's the result you'll get.
The original transaction can't complete till Trigger A completes. Trigger A can't complete till Trigger...
December 15, 2009 at 9:32 am
jayoub1 (12/15/2009)
December 15, 2009 at 9:28 am
Doing it the right way (parent-child) has more benefits than just being "right". It will also query more easily, be easier to update, allow you to control for referential...
December 15, 2009 at 9:22 am
One of the most important roles in any group dynamic is keeping the people involved locked onto a target or purpose or goal of some sort.
The odd part is, everyone...
December 15, 2009 at 7:12 am
The log file won't grow without some sort of activity. That activity could be automated maintenance plans, could be something running that nobody told you about, could be from...
December 15, 2009 at 7:03 am
Barry:
I've spent more years as a manager/exec than as a DBA (though that changes next year, when I will catch up with myself, as it were).
As such, I've seen the...
December 14, 2009 at 2:43 pm
You're welcome.
When you have a chance (make it soon), look up Numbers and Tally tables on this site, and via Google/Bing/whatever. They're very, very useful.
December 14, 2009 at 1:51 pm
As far as turning the text file timestamp into a real timestamp, take a look at this, see if it'll do what you need:
declare @TS char(8);
select @TS = '10141045';
select
dateadd(month,...
December 14, 2009 at 1:48 pm
jayoub1 (12/14/2009)
First: What does Buffer Cache hit...
December 14, 2009 at 1:24 pm
Try this in your test/dev database:
create table dbo.Numbers (
Number int primary key);
go
insert into dbo.Numbers (Number)
select top 10001 row_number() over (order by t1.object_id) - 1
from sys.columns t1
cross join sys.columns t2;
go
create procedure...
December 14, 2009 at 1:12 pm
BaldingLoopMan (12/14/2009)
To each their own.
Even in cases where the data type precedence won't cause a problem, I find the Coalesce version below much easier to read, understand, and maintain, than...
December 14, 2009 at 9:02 am
BaldingLoopMan (12/14/2009)
coalesce(custname, last, first) = isnull( isnull( custname, last ), first )
Therefore...
December 14, 2009 at 8:29 am
That doesn't look like T-SQL. Not sure what it is, but I doubt it's from an MS SQL database.
December 14, 2009 at 8:27 am
Thanks for the compliment in the article, Steve.
There are a lot of weird ideas out there on performance in T-SQL, but the single biggest factor in most of the questions...
December 14, 2009 at 7:41 am
Viewing 15 posts - 7,426 through 7,440 (of 14,953 total)