Viewing 15 posts - 25,756 through 25,770 (of 49,552 total)
SELECT COUNT(*)
FROM Table1 WHERE Col1 = 0
vs
SELECT COUNT(*)
FROM Table1 WHERE Col1 = Table2.ID
Query 1:
Please count how many people there are in the telephone directory with a surname 'Van Westhuyzen'
Query 2:
Please...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 3, 2011 at 2:04 pm
SELECT COUNT(*)
FROM Table1 WHERE Col1 = Table2.ID
That can't be seeked. There's no single value to be looked up. It could do one seek for each value of Table2.ID (that's what...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 3, 2011 at 1:59 pm
GSquared (6/3/2011)
GilaMonster (6/3/2011)
GSquared (6/3/2011)
The original post asserted no pending DDL. Worth double-checking, of course.
The Sch-S is the only lock a select with nolock takes, that's only blocked by an Sch-M....
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 3, 2011 at 1:57 pm
GSquared (6/3/2011)
The original post asserted no pending DDL. Worth double-checking, of course.
The Sch-S is the only lock a select with nolock takes, that's only blocked by an Sch-M. Need to...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 3, 2011 at 1:49 pm
clare.xia (6/3/2011)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 3, 2011 at 1:27 pm
SQLRNNR (6/3/2011)
What would you say to finding MVPs who are plagiarizing content to either gain MVP or to retain MVP?
I wouldn't say a thing. I'd just report them to Global...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 3, 2011 at 1:22 pm
SQLRNNR (6/3/2011)
GilaMonster (6/3/2011)
Garadin (6/3/2011)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 3, 2011 at 1:19 pm
Are there any transactions concurrently reading from tableA?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 3, 2011 at 1:18 pm
Yes. No.
The pseudo-tables are materialised from the version store in SQL 2005+
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 3, 2011 at 10:20 am
Garadin (6/3/2011)
Oh, and you forgot MCP! :hehe:
Yes. Intentionally.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 3, 2011 at 9:23 am
Stefan Krzywicki (6/3/2011)
GilaMonster (6/3/2011)
Garadin (6/3/2011)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 3, 2011 at 8:49 am
That's not going to be fixed with an isolation level change. As I mentioned earlier...
GilaMonster (5/31/2011)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 3, 2011 at 8:36 am
Garadin (6/3/2011)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 3, 2011 at 8:30 am
SQL Server != open source.
Portions are undocumented because they're not guaranteed to remain the same. Documented features have to be formally deprecated before they can be removed, formally noted as...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 3, 2011 at 4:24 am
Sure. Use SET TRANSACTION ISOLATION LEVEL to set whatever isolation you want.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 3, 2011 at 4:23 am
Viewing 15 posts - 25,756 through 25,770 (of 49,552 total)