SQL Server – DBCC CHECKDB

Who is online?  127 guests and 0 members
home  »  blogs  »  Piyush Bajaj  »  SQL Server – DBCC CHECKDB
  Rate This Blog Entry:  register  or  login

Author

piyush.bajaj.2007 Piyush Bajaj (Member since: 5/23/2011 11:25:15 AM)
I am very passionate about SQL Server. I also did certification on MCTS - SQL Server 2008, Database Development, and MCTS - SQL Server 2005, Implementation & Maintenance, which helped me to get more knowledge and interest on this field. Please feel free to drop me any question online or offline, i will try to give you the best possible answer from my side. Right now i am working as a SQL Server developer in TCS. I have an experience of just 2 years, well i can only say that "if you have an interest and passion, experience might become a very small thing".

View Piyush Bajaj 's profile

Comments (1)

jaakinye
3/13/2012 7:59:49 PM jaakinye said:

Hi,

My database path is D:\Baza and database name is LOTO

I have tried this sytax but nothing

DBCC CHECKDB 
[
    [ ( Loto | loto | 0
        [ , NOINDEX 
        | , { REPAIR_ALLOW_DATA_LOSS | REPAIR_FAST | REPAIR_REBUILD } ]
    ) ]
    [ WITH 
        {
            [ ALL_ERRORMSGS ]
            [ , EXTENDED_LOGICAL_CHECKS ] 
            [ , NO_INFOMSGS ]
            [ , TABLOCK ]
            [ , ESTIMATEONLY ]
            [ , { PHYSICAL_ONLY | DATA_PURITY } ]
        }
    ]
]

What is wrond?

by

Leave a comment

Name:
  *  
Email:  (your email is kept secure)
 *  
Website:

example: "http://www.SQLServerGeeks.com"

 
Type the characters:
 *
 
   

Training on Microsoft Products & Technologies

Email Subscriptions

   Get the Most Recent Blogs in your inbox
Blogs RSS Feed

Piyush Bajaj's latest blog posts

  • Hi Folks, I am sure that all of you would be aware about the role of Identity column in a table, i.e., it is column which keeps on incrementing without supplying the value explicitly during insertion....
  • Hello Folks, You might be wondering about how to handle NULLS if it’s a part of XML result set. Well, I have some keynotes about it, so please see it carefully: Till now, the default implementat...
  • Hey Folks, What do think when did FOR XML introduced? To know about all this, please go to the link, where you will find an article post: http://www.sqlservergeeks.com/articles/sql-server-bi/102/sqhow...
  • Hello Folks, You would be very much aware of the View in SQL Server. But do you really know about Inline Table-Valued Functions? Well you don’t have to worry further more on this, because I will...
  • Hello Friends, It’s been a while that I have posted any blog. So here it is- Well with the arrival of SQL Server 2000, Microsoft has introduced the concept of User Defined Function (UDF). So the...
  • Hello Folks, You would have heard about Cell-Level Encryption which was introduced earlier with the arrival of SQL Server 2005. It was built for the developers with a granular level of encryption for ...
  • Hello Folks, You would have heard about Sparse Column . It has been introduced earlier with the arrival of SQL Server 2008. Well I have made some keynotes about it, so please go through it carefully: ...
  • Hello Folks, FileStream data type has been introduced with the arrival of SQL Server 2008. Before that, we had to use the BOLB data type of SQL Server which allows us to store the data up to 2GB. But ...
  • Hello Folks, Table-Valued Parameter is a new parameter type which has been introduced with the arrival of SQL Server 2008. We can use table-valued parameters to send multiple rows of data to a Transac...
  • Hello Folks, You would have heard about this one. Well it was introduced first time with the arrival of SQL Server 2008. I have noted down some keynotes about Change Data Capture (CDC) , so please fol...
  • Hello Folks, You would have heard this with the arrival of SQL Server 2005. Well I have made several keynotes on this, so please see it carefully: A copy-only backup is a SQL Server backup that is ind...
  • Hello Folks, You would have heard about Compressed Backups. The Compressed Backups is being introduced in SQL Server 2008 Enterprise and in later versions, but since the commencement of SQL Server 200...
  • Hello Folks, Have you heard this name? If not, you don’t have to worry at all because I am going to give you some heads up: The main usage for the SPACE function is to replicate spaces for a str...
  • Hi Folks, As you would have seen, I have discussed about DBCC previously. But this blog-post is purely on TRACEON. DBCC TRACEON is being used to enable the specified trace flags. Well, you can see the...
  • Hi folks, You might have seen my blog posts which was all about DBCC CHECKDB and how to repair the database using DBCC CHECKDB. But I have tried to focus this blog on the various DBCC Commands: DBCC C...
  • Hello Folks, You might have seen my last blog post, which was a brief introduction about DBCC CHECKDB. If you want to refer it again, then please check the link: http://www.sqlservergeeks.com/blogs/pi...
  • Hello Folks, You might have heard about DBCC. If not, I am going to give you some heads up: DBCC Commands stands for Database Console Commands. They are being used for: Checking database integrity Per...
  • Hello Folks, Do you know how to import CSV file into SQL Server? Or, How to load comma delimited file into SQL Server? It’s with the help of Bulk Insert. Well I have noted down some keynotes abo...
  • Hello Folks, You might have heard about it or maybe not. Don’t worry at all because I will be going to give you some of the heads up: Logon triggers were introduced earlier with the arrival of S...
  • Hello folks, You would have heard about this function while dealing with DDL triggers. If you would have seen my last blog post, it was about “Similarities and Differences between DML and DDL tr...
  • Hi Folks, You might have known about DML and DDL triggers as an individual, but do have any idea about their similarities and the differences between them? Well I have made some keynotes about it. SQL...
  • Hello Folks, We are very much glad to announce that SQLServerGeeks.com is organizing SQL Server Day in Bangalore (India) on 15th October (Saturday). I just want to make you aware of the event. In case...
  • Hi Folks, You would have seen my blog which was a brief description about the significant system functions. Well if you want to review it, than just click on the link: http://www.sqlservergeeks.com/bl...
  • Hello Folks, You would have seen my blog-post which was about the Temporary Tables. If you want to follow to that post, please click the link below: http://www.sqlservergeeks.com/blogs/piyush.bajaj.20...
  • Hello Folks, You would have heard about this table earlier. I have make some keynotes on this, might make you feel easy about this. Microsoft SQL Server provides the concept of temporary table which h...
Blogs RSS Feed

Latest community blog posts

  • Of late I have been working on creating a lot of SSIS packages and a new trick that I have come up with is to use a Script Task to create a dynamic SQL and/or MDX for me using standard SSIS variables ...
  • Hi Friends, Today I will show you practical for one of the reason of Transaction Log backup chain breaker i.e. restoring database with database snapshot. Suppose I am having one database named as SQLT...
  • Hi SQL Geeks, Here are the blog posts by Piyush Bajaj for the month of May. We would expect more of his informative blogs this month. Happy Learning! If you like our blogs do like us on Facebook at ht...
  • Hi SQL Geeks, Here are the blog posts by Ahmad Osama for the month of May. We would expect more of his informative blogs this month. Happy Learning! If you like our blogs do like us on Facebook at htt...
  • A few days back I was resolving a memory issue which caused sql server to stop responding. I was able to figure out the issue by looking into DBCC MemoryStatus output. It was the full text search whic...
  • This is an update to the DB-Migrate ( http://www.sqlservergeeks.com/blogs/AhmadOsama/personal/797/db-migrate-a-powershell-module-to-migrate-databases ) powershell module to migrate database between sq...
  • This blog is part of the series The TSQL Classes: Stored Procedure The links to previous post are given below. http://sqlservergeeks.com/blogs/AhmadOsama/personal/762/the-tsql-classes-stored-procedure...
  • Reporting With SSRS Part 1 : In this serires of blogs, i will try to introduce you with some of the key features of the tool which will help you get on board to become a proficient report developer.If...
  • Hi Folks, I am sure that all of you would be aware about the role of Identity column in a table, i.e., it is column which keeps on incrementing without supplying the value explicitly during insertion....
  • Recently I wrote powershell scripts to move databases, logins and SQL Agent Jobs between instances. Another one I wrote was to fix orphan users. I have now combined all of these different functions in...
  • Hi SQL Geeks, Here are the blog posts by Ahmad Osama for the month of April. We would expect more of his informative blogs this month. Happy Learning! If you like our blogs do like us on Facebook at h...
  • This blog is part of the series The TSQL Classes: Stored Procedure The link to previous post are given below. http://sqlservergeeks.com/blogs/AhmadOsama/personal/762/the-tsql-classes-stored-procedures...