Solved

UPDATEUSAGE syntax

Posted on 2011-02-25
3
344 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 24

Accepted Solution

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

Assisted Solution

by:Raja Jegan R
Raja Jegan R earned 250 total points
ID: 34986143
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
ID: 34986194
Thank you-
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
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.

691 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