Solved

UPDATEUSAGE syntax

Posted on 2011-02-25
3
333 Views
Last Modified: 2012-05-11
what is wrong with this format.. i need to update all statistics on MES database:

DBCC UPDATEUSAGE MES WITH  NO_INFOMSGS
thanks
0
Comment
Question by:anushahanna
3 Comments
 
LVL 24

Accepted Solution

by:
jimyX earned 250 total points
Comment Utility
Try this:
DBCC UPDATEUSAGE ('MES') WITH  NO_INFOMSGS
0
 
LVL 57

Assisted Solution

by:Raja Jegan R
Raja Jegan R earned 250 total points
Comment Utility
You need to enclose it within braces like

DBCC UPDATEUSAGE (MES) WITH  NO_INFOMSGS
Or
as mentioned above with single quotes would also work..
0
 
LVL 6

Author Comment

by:anushahanna
Comment Utility
Thank you-
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Performance is the key factor for any successful data integration project, knowing the type of transformation that you’re using is the first step on optimizing the SSIS flow performance, by utilizing the correct transformation or the design alternat…
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now