Viewing 15 posts - 1,951 through 1,965 (of 3,658 total)
I was fortunate enough to hear Thomas Kesjner at SQL Bits in London earlier this year.
He started his presentation with "I'm not normally a transactional specialist but....." and proceeded to...
September 13, 2010 at 12:18 pm
I can't stress the maintenance issue enough.
Let us suppose you hire a good DBA. By locking SQL in a code release you are hamstringing your DBA; you are not...
September 6, 2010 at 10:32 am
Why not use sp_ExecuteSQL and build up the query that is needed in T-SQL code. This will cache the execution plan for the query statement.
The other thing I would...
August 31, 2010 at 4:21 pm
Do you have any first hand experience with the new product and do you have knowledge of the hardware requirements?
Not yet but I have spoken with people in the...
August 12, 2010 at 12:44 pm
sp_who2 should give you details as to who is accessing your SQL Server.
I've found that SELECT * FROM sysprocesses WHERE Blocked<>0 is also quite revealing. Blocked is the SPID...
July 5, 2010 at 4:03 pm
If you've got dupes in your source then you need to include dupe handling routines in your SELECT query.
If you have a table which has ID values 1,2,3,4 in it...
July 5, 2010 at 4:01 pm
Tony++ (6/29/2010)
June 29, 2010 at 11:34 am
There seems to be an assumption that there is a single field acting as the PK. This isn't necessarily true.
As to calling things ID because its easier for developers...
June 10, 2010 at 2:36 pm
Non-database aware developers have a different perspective to DB aware developers on a particular problem.
I would not advocate having "ManagerEmployeeID", ManagerID is clearly more appropriate. I used to use...
June 8, 2010 at 10:50 am
sanjays-735734 (6/7/2010)
I would like to add something in Your "simple example"...
IF EXISTS(SELECT 1 FROM ... WHERE...)
Instead of this Use following...
IF EXISTS(SELECT TOP(1) 1...
June 7, 2010 at 11:40 am
So here I was in 2006, still using SQL 2000 hearing about the cool features other people were working
Imagine how you'd feel if it was June 2010 and you were...
May 31, 2010 at 2:06 pm
I think data is going to come into ascendancy if it hasn't already. In the old days you needed a DBA simply to keep the lights on, now...
May 30, 2010 at 4:19 pm
My thanks to Paul for his help in resolving the SQL2005 conundrum.
It was my bad. SQL2005 does reclaim space when the clustered index is rebuilt.
SQL2000 doesn't and this I...
May 27, 2010 at 10:12 am
lastory2006 (5/26/2010)
BTW - in the half-page/full-page example - just use varchar and be done with it, while at the same time taking up minimal storage space.
The point of the...
May 26, 2010 at 11:45 am
When you use an ORM tool it effectively hides the schema so you can get away with calling the fields almost anything.
When you are reading down a large block of...
May 26, 2010 at 9:25 am
Viewing 15 posts - 1,951 through 1,965 (of 3,658 total)