update statistics

External Article

SQL Server's Auto Update Statistics Async Option

  • Article

I have been trying to tune my SQL Server and I noticed a few database settings for statistics. I also read the previous tip on automatic statistics updates. Could you please describe the Auto Create Statistics Async option? How is this configured and when should I use it and when should I avoid using it?

2013-03-26

4,282 reads

Technical Article

RE: Access Email

  • Reply

I think the way to do this is to open a recordset which contains the data to be placed in the message body. Then simply use DoCmd.SendObject to send the email. Sub sEmailNotification()Dim rst As New ADODB.Recordset Dim strMsg As String'get data for request (assumes only 1 record in table) rst.Open "SELECT REQUEST_DATE_FROM, REQUEST_DATE_TO, REQUEST_HOURS, USERNAME […]

You rated this post out of 5. Change rating

2005-04-06

Technical Article

RE: Attach DB and Procedure Cache

  • Reply

When you execute sp_detach_db, the procedure cache is flushed for that database. This is probably due to DBCC DETACHDB() [which sp_detach_db wraps], though this command is undocumented. Edit: You can see this by watching syscacheobjects. I did so with the pubs db on a development sql server. Run a stored procedure, verify it's in the […]

You rated this post out of 5. Change rating

2005-03-31

Blogs

Set a Runtime Variable in an Azure DevOps Pipeline

By

Note: I DO NOT recommend this. Any changes to a pipeline should be in...

A New Word: Symptomania

By

symptomania – n. the fantasy that there’s some elaborate diagnosis out there that neatly...

Query Store Keeps Switching Itself Off, Getting it Moving Again

By

I recently received a complaint that Query Store for a particular database was turned...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers