Viewing 15 posts - 26,131 through 26,145 (of 49,552 total)
Google is a wonderful tool...
http://en.wikipedia.org/wiki/Willie_Mays
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
May 15, 2011 at 3:58 pm
Ninja's_RGR'us (5/15/2011)
In general, it's better to return the correct data.
*snigger*
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
May 15, 2011 at 3:56 pm
sqldba_icon (5/15/2011)
i was looking more in general. Thanks
General performance tuning advice:
Ensure the queries are written so that they can use indexes
Ensure the indexes are designed for the queries
Don't do row-by-row...
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
May 15, 2011 at 3:55 pm
Welsh Corgi (5/15/2011)
Marc Bizzar (5/15/2011)
"I'd guess the connection is closed and reopened leading to the temp table getting deleted in between."
Perhaps I'm not understanding you correctly but the issue...
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
May 15, 2011 at 11:51 am
Syed Jahanzaib Bin hassan (5/15/2011)
64-Bit system processing is much faster than 32-bit
That is a myth. 64-bit is not about better performance, it's about flat memory addressing up to the maximum...
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
May 15, 2011 at 7:13 am
chapman8790 (5/15/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
May 15, 2011 at 5:59 am
Exactly what I thought
Nawar.Tabaa (5/15/2011)
SELECT @WaybillId = [WaybillId],@StatusId = [CurrentStatus],
@ActionBy = [LastActionBy]
FROM inserted
That assumes...
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
May 15, 2011 at 5:55 am
If the database it attached to the 2008 R2 server, it is a 2008 R2 database. Always.
p.s. Developer edition or Enterprise?
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
May 15, 2011 at 2:20 am
Post the query, post the indexes
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
May 15, 2011 at 2:19 am
My guess, the trigger is not written to handle multi-row updates. It probably assumes there'll only ever be a single row updated at a time and hence a single row...
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
May 15, 2011 at 2:16 am
Welsh Corgi (5/14/2011)
Try setting the recovery model of tempdb to simple so that the space can automatically be reclaimed.
TempDB is always in Simple recovery. Any attempt to change it returns...
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
May 14, 2011 at 2:37 pm
I'm kinda curious as to why you ran DBCC Page. What that returns is the contents of the data page. Other than the object id and index id (which are...
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
May 14, 2011 at 2:34 pm
Is the server or domain called SQLServer?
Oh, and as the comment says, these need to be run at the command prompt, not in a SQL query window.
-- In a Command...
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
May 13, 2011 at 3:44 pm
Terry Low-350996 (5/13/2011)
The correct sequence that SQL uses internally to process the clauses in an SQL query:FROM, [JOIN CONDITION, JOIN TABLE...], WHERE, GROUP BY, HAVING, SELECT, DISTINCT, ORDER BY, TOP
SQL...
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
May 13, 2011 at 1:31 pm
Garadin (5/13/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
May 13, 2011 at 1:27 pm
Viewing 15 posts - 26,131 through 26,145 (of 49,552 total)