Viewing 15 posts - 1,981 through 1,995 (of 3,711 total)
Another easy mistake to make is to put a clustered index on the view that conflicts with the clustered index in the base tables. I now hold the world...
November 16, 2010 at 3:21 pm
grahamc (11/15/2010)
November 16, 2010 at 3:18 pm
There are subtle differences between the different RDBMS's that mean chop and change may not be as cheap as it should be.
You could be faced with quite a bit more...
November 14, 2010 at 10:06 am
I've been trying to get people out of the habit of using != but they're just not buying my "<> is more readable". Do you have another reason to...
November 14, 2010 at 9:58 am
If you have to build application code to scrub nulls then surely it would have been better not to have them in the first place. Surely allowing nulls just...
November 12, 2010 at 11:54 am
WHERE s.column >'' will be marginally more efficient than WHERE s.column<>''
Nulls are sometime necessary, for example if I have a DrivingConvictions table in a car insurance database I might have
DriverID
OffenceCode
PenaltyPoints
IllegalSubstanceReading
If...
November 11, 2010 at 12:34 pm
This is on my list of "stupid things no-one in their right mind would try" and I apologise to any DBA for revealing how you do this.
EXEC sp_addlinkedserver 'ExcelSource',
...
November 11, 2010 at 12:26 pm
BASIC = bodgers and simpletons incomprehensible cobblers.
November 11, 2010 at 11:52 am
Yes, though some of the newer SQL2008 options won't appear in the object browser tree.
November 10, 2010 at 1:07 pm
With clustering you have 2 or more physical SQL Servers accessing a shared disk but appearing as one. In the event of one server being unavailable the cluster will...
November 10, 2010 at 1:05 pm
At a guess you are using NVARCHAR and NCHAR rather than VARCHAR and CHAR fields.
the N... data type fields take twice the space of the VARCHAR/CHAR equivalents.
There is an added...
November 10, 2010 at 12:57 pm
JJ B (10/25/2010)
I can think of a giant advantage--at least to my programs.
.....
I used to listen to the DBAs who advocated against surrogate keys for "link" tables....
October 25, 2010 at 12:21 pm
If it is going to change then it isn't generally speaking a good candidate for a primary key.
The thing with Surrogate Keys is that they create uniqueness, they don't enforce...
October 25, 2010 at 10:08 am
I can't see anything that says that the figure returned will be reliable. Fast yes, blindingly so. Reliable.....not so sure.
October 19, 2010 at 12:58 am
If you are getting locking/blocking activity on a table and are not bothered by dirty reads then using the READUNCOMMITTED hint in the join may alleviate this.
If you are doing...
October 18, 2010 at 1:05 pm
Viewing 15 posts - 1,981 through 1,995 (of 3,711 total)