SQL server equivalent to Access Compact Repair Tool?

Simply put, is there a SQL server equivalent to the MS Access Compact Repair Tool?
Cheers in advance

Hi MarkWest009,
In addition to other posts, for other SQL Server editions, when the database file is corrupt,
 the best way to recover the database is to restore it from latest backup. So please ensure you have a backup strategy, I recommend performing both database and log backup in most situations.
However, if you don’t have SQL Server database backups, you can firstly check the database consistency by executing the DBCC CHECKDB utility without any clause. The command is executed and the reason for corruption is provided. Then, run the utility using the
mentioned clause. If you are not able to repair SQL Server database with DBCC CHECKDB, then you might use a third-party repair tool for SQL Server database file repair.
Thanks,
Lydia Zhang
Lydia Zhang
TechNet Community Support

Similar Messages

  • HOW TO INSERT DATA INTO SQL SERVER FROM MS ACCESS TABLE??

    NEED TO INSERT DATA INTO SQL SERVER FROM MS ACCESS TABLE.

    this is another method
    http://www.mssqltips.com/sqlservertip/2484/import-data-from-microsoft-access-to-sql-server/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • SQL server can't access network share

    Hello,
    I am facing an issue where the SQL server can't access the network share. The network share is mounted by  a domain user who is also configured as Administrator on the server.
    Through SQL Server management studio as well as PoweShell script when i try to access the share in order to attach the database contained within the share, i get the error "Unable to find the file specified". I can't mention the network drive to
    the SQL management GUI file browser too if i try to attach the database through GUI.
    For all SQL services, I changed the service log on account to be the same account which mounts the network share.
    As work around - 
    I launched a command prompt under NT Authority \ SYSTEM (LocalSystem) account and mounted the drive to the same location which lead to adding one more connection but under local system account. With this change, the SQL server was able to access the network
    share!
    I couldn't understand whey SQL expects the network share to be mounted under local system account even if all the SQL services are running under domain account ? I want SQL to be able to access the network share without opting for above work around.

    Hello,
    I couldn't understand whey SQL expects the network share to be mounted under local system account even if all the SQL services are running under domain account ? I want SQL to be able to access the network share without opting for above work around.
    It doesn't have to be. The workaround is only a temporary fix and is certainly not a good idea. I would not use mounted folders with SQL Server, at all, period.
    The reason you're having difficulty is that when the folder is mounted, it's mounted for YOUR session not ALL sessions. SQL Server has already started its services and is running under its' own session and is not privy to the things you do to change the
    environment. For example, if you changed a system or user variable (for example, a SET variable) SQL Server would have no idea about this because when it started, that variable either didn't exist or was something else. This is not SQL Server's fault but how
    Windows works (this information is stored in the Process Environment Block [PEB]) for any windows process.
    As other's have said, don't use mounted drives - use a UNC path. UNC paths are 100% supported on 2012+ as well as running databases on a SMB 3.x share (UNC pathed of course).
    If you absolutely must use a mounted drive, enabled xp_cmdshell access (through sp_configure) and run the net use command through xp_cmdshell. I, once again, would highly advise not doing this and using an UNC path.
    -Sean
    The views, opinions, and posts do not reflect those of my company and are solely my own. No warranty, service, or results are expressed or implied.

  • Can a SQL SERVER table be accessed via Oracle Forms

    My boss asked me this question today. I am pretty sure the answer is "no", but thought it better to throw it out to the crowd:
    "Can a SQL SERVER table be accessed via Oracle Forms?"

    Yes, this is possible using Oracle's Transparent Gateway. Check out the My Oracle Support (formerly Metalink) document "How To Create A Form Based on SQL Server Table" (Doc ID: 564915.1) for all of the details. This document is based on Forms 10g (10.1.2.0.2) so you may need to upgrade your Forms version if you are not already at this version at a minimum.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • MS SQL SERVER 2005 CLIENT ACCESS TOOLS

    HELLO EXPERTS
    I wanted to install sql 2005 client  access tools, but I cannot seem to find it on my installation CD, any help please? Urgent and thank you

    Its called Management Tools when you run it from installaton cd.
    see
    http://it-n-careerz.blogspot.in/2013/04/how-to-install-sql-server-management.html
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Is SQL Server the new Access?

    This is a condensed summary of the job market as I've been observing it so far this year and maybe in retrospect last year too.  It may or may not be appropriate to this forum, if you are reading it then so far maybe it has relevance.
    But it appears to me as if virtually all new, large-scale work is being moved off of SQL Server and onto cloud and "big data" platforms possibly (but not frequently) including Azure.
    What is being left on SQL Server are legacy systems and smaller applications where generalist developers can totally fend for themselves, with the help of a competent DBA platform staff, and just let the power of the hardware overcome any technical
    issues.  Most of these apps seem to be whatever fits on a standard version and runs under a VM.  In effect, SQL Server is becoming the new Access!
    One additional small attempt at forum relevance: insofar as this market shift might be true, I would attribute it to two engine-related things.  First, the very unfortunate decision by Microsoft that for SQL 2012 licensing for big multicore servers
    became far more expensive.  It seems many shops stayed on SQL 2008 for a long time (still!) because of this and have barely looked at SQL 2014.  Second is that frankly SQL Server is not scaling very well beyond the terabyte range without a lot of
    high-levels of expertise involved - and especially when cheap management tries to run that multi-terabyte database on 32gb production servers!*  SQL Server's reputation for being easy to use, plug-and-play, may be threatening the success of these larger-scale
    apps and is leading to new choices in platform.
    Anyone else have any observations along these lines, pro or con?
    Thanks,
    Josh
    *and if you think that's a myth, it is exactly what happened at my last gig, leading to $20,000,000 in development being thrown away - and no, they simply could not be talked into understanding or mitigating the issue.

    Josh,
    I would think most of this is going to depend on the company, resources, and business models. I added my 2 cents though, enjoy.
    But it appears to me as if virtually all new, large-scale work is being moved off of SQL Server and onto cloud and "big data" platforms possibly (but not frequently) including Azure.
    I personally don't look at Azure as a big data platform. Currently it has its limits in both processing power and disk IO, has its own issues (such as AD integration, which is possible but takes extra hardware and setup) and has an SLA that you may or may
    not be able to live with.
    Do I see more things moving Azure - yes, but it's mostly because they are small and is based on cost + expertise. Most of the time there is no in house DBA and it is cheaper to have some other company worry about hosting it, providing the services, hardware,
    power, etc. You get redundancy and an out of the box SLA for small applications that are fractions of the cost compared to the licensing + hardware + personnel costs of in-house items.
    Remember when everything was run on mainframe, then personal computers came out, now everything is migrating back toward a mainframe feel. It is just how it cycles. "on prem private clouds" are nothing more than beefy hardware with a single purpose all packaged
    together (such as offering from HP and Dell) and something a shop of sufficient size can do on their own with enterprise class hardware - again if you have the space and expertise.
    What is being left on SQL Server are legacy systems and smaller applications where generalist developers can totally fend for themselves, with the help of a competent DBA platform staff, and just let the power of the hardware overcome any technical
    issues. Most of these apps seem to be whatever fits on a standard version and runs under a VM. In effect, SQL Server is becoming the new Access!
    This could just be the company that you work for, or someone up higher that hears a key word and latches on. I can tell you that I'm actually in the process of migrating multiple Oracle databases to SQL Server with application upgrades. That isn't counting
    the other databases that are currently SQL Server at 1TB+ but it depends on what is considered a small application. To a small company almost all applications are large, versus a large company with 10k+ employees and then anything less than 1k+ users is small.
    It also depends on if you're a dev shop or a 3rd party shop. For example, we bought software that runs on a closed source version of MySQL. It happens, that's what they use.
    First, the very unfortunate decision by Microsoft that for SQL 2012 licensing for big multicore servers became far more expensive. It seems many shops stayed on SQL 2008 for a long time (still!) because of this and have barely looked at SQL 2014.
    Yeah, this made me sad. Following Oracle and IBM was not the way to go, but not our decisions. The interesting thing is, if you read the licensing doc, anything you have with SA can be converted to cores so it isn't a total loss and shouldn't be a reason
    to stay at older versions. I still have instances of 2000 running (omfg) that are somehow alive... it's because the software company is no longer around yet we still use that product, not because we don't want to upgrade (read WE as I insist harshly). In fact
    I just had an install guide emailed to me about a possible new product and their "supported" version of SQL Server was 2005 SP3, it's all about what they develop on and if they test it on newer versions. Since that takes money most of the time they don't and
    it makes me sad with a few drops of angry and then tons of push back until they support something newer.
    This is how it will be especially in regulated markets such as stock trading and gambling where products must be "approved" by the boards or commissions before it can be used. I liked to joke that dev shops were 4 years behind, retail and hospitals were
    8 years behind and the government still uses pencil and paper.
    Second is that frankly SQL Server is not scaling very well beyond the terabyte range without a lot of high-levels of expertise involved - and especially when cheap management tries to run that multi-terabyte database on 32gb production servers!
    That is a huge "it depends", I'm not even going to try and lsit the myriad of items that can attribute to this. Very rarely when I am investigating is this an issue to scaling with SQL Server. Most of the time I find two main culprits - the first is a database
    design that is terrible and leads to the problems at hand or the other being an application that doesn't properly use the database. When I say properly, I mean HOLDLOCK hints hard coded into application queries and then wondering why concurrency is terrible.
    The developers just don't know, understand, or care as their job is to ship a product.
    If it makes you feel any better, I have successfully run (for years) a 1+ TB db on a server (2008) with 16 GB of RAM. The database lends itself to the type of workload that doesn't require extremely large datasets in memory and is more of an oltp style with
    large and long archives. This is why I say "it depends", because not every database is equal.
    Anyone else have any observations along these lines, pro or con?
    There will always be a new technology and change in the wind. That's inevitable. Some companies and execs understand this and take caution, some stick to old school (still have AS/400 style batch processing for "real-time" data), some always jump on the
    newest thing. YMMV.
    I look at it as another tool available to us.
    Sean Gallardy | Blog |
    Twitter

  • SQL Server Reporting Services - Access denied issue

    Hello All,
    My Environment : SCCM 2012 R2, SQL 2012 SP2 standard and Windows Server 2012 [VM box].
    while configuring  reporting services get error the reporting service fails to start using the reporting service account.
    when i start the service on the SCCM server “SQL Server Reporting Services (MSSQLSERVER)” does not start using the service account “Domain\SCCM-SQL-SRSSVC”.  kindly
    advice 

    Using the switch  "NT Service\ReportServer" the service starts.
    during the Reporting Services
    Configuration , Service Account page , when i provide my service account its fails with the below  mentioned error. 
    "windows could not start he sql server reporting services (MSSQLSERVER) service on local computer
      Error 5: Access is denied

  • Provide WCF service caller to a SQL server that is access by a technical user account

    Hi,
    we have a WCF Service that is hosted in a windows service and access a SQL Server database. The database is accessed with the technical user the windows service runs with. That means nevertheless of the WCF service caller, the database is always
    accessed in context of the technical user. Furthermore some company users access the database via the SQL Management Studio and sign in via Windows Authentication.
    The management now wants us to provide a change log functionality. In case data is changed by the WCF service the caller should be logged. In case of using the SQL Management Studio the domain-user's account should be logged.
    Because both ways must be supported we want to use a table trigge to monitor insert/update/delete ddl events, but we got struggled by passing the WCF service caller to the SQL server database.
    Does anyone have a good idea for the issue? Any advice is appreciated.
    Kind regards,
    Christian

    Do you know a way to use the 'SET CONTEXT_INFO' expression wth LINQ2SQL?
    This is a T-SQL forum. There are other forms for LINQ.
    No, I don't know LINQ. Then again, why on earth would you? This would be a command you would submit when the WCF connects. Ah, of course, you are only connecting when you submit a query. Which you do through LINQ. Oh well. Could be an incitement to move
    away from LINQ maybe? :-)
    Erland Sommarskog, SQL Server MVP, [email protected]

  • SQL Server 2014 Official Final Version ---- Data Tools (SSIS, BIDS, etc.)

    I have VS 2013 Professional, and just installed SQL Server 2014 Developer version. Can someone tell me where the proper location for the Data Tools (fka BIDS) is located ? I'm seeing CPT1, etc. but looking for the truly released version.
    THank you,
    John

    Hi,
    SSDT-BI installs the Microsoft SQL Server Data Tools Business Intelligence project templates for Analysis Services, Integration Services, and Reporting Services. SSDT does not contain those BI project templates.
    SQL Server Data Tools for SQL Server 2014 is available declares that there is a update for Visual Studio 2012 and 2013 has been pushed
    which makes SQL Server Data Tools fully compatible with SQL Server 2014.
    As I understand, what you need is SSDT-BI and checking updates would not do much help.
    Per http://www.microsoft.com/en-us/download/details.aspx?id=42313, Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2013 has been removed from the Download
    Center since April 11.
    SSDT-BI has been temporarily removed to deal with side by side issues with SSDT-SQL.
    Please be patient and wait it to be reposted. However, I cannot guarantee when it may be released. Sorry for the inconvenience you have experienced and thank you for your understanding and continued support.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Permission to run SQL Server DTA - dbo access needed --- to the user database, or msdb ?

    Hi All,
           I am remotely working with a developer who wants to run DTA (SQL Server 2008 R2). I gave the AD Group "ALTER TRACE" permission, and also "execute" permission to xp_msver in master db. I also read that
    the user needs to be in dbo group. This is to the user database they wish to use DTA with, correct ? I just want to be sure that dbo to msdb is not needed.
    Thank you,
    Joe Clark
    Joe Clark

    Please see the link bellow
    http://technet.microsoft.com/en-us/library/ms190987(v=sql.105).aspx
    vt
    Please mark answered if I've answered your question and vote for it as helpful to help other user's find a solution quicker

  • SQL Server Equivalent of this for Oracle.

    I was just wondering if anyone know of any links similar to this(http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/12c/r1/poster/OUTPUT_poster/poster.html#).
    The fifth tab has an extremely informative picture of the architecture. Anything similar to that for SQL would be really handy.
    Thanks in advance.

    In addition to other posts, you can also check the following blogs about SQL Server architecture.
    SQL SERVER – Beginning of SQL Server Architecture – Terminology – Guest Post
    http://blog.sqlauthority.com/2012/08/30/sql-server-beginning-of-sql-server-architecture-terminology-guest-post/
    SQL Server architecture: Behind the scenes
    http://1hw.in/sql-server-architecture-behind-the-scenes/
    Thanks,
    Lydia Zhang

  • SQL Server = Oracle without access to SQL Server

    I need to migrate a schema from SQL Server to Oracle but I will not be able to connect to SQL Server to do this. Can migration workbench handle this? What type of export do I need from SQL server and is there any other way to import into Oracle 10g. TIA.

    Install the workbench (a zip file) and the appropriate sql server plugin (a jar)
    Check out the scripts in Omwb\offline_capture\<plugin name for example SQLServer2K> for all the details in code.
    The format is basically <database name>\<meta table name>.dat
    columns separated by an end of column character (which is configurable) and rows separated by an end of row character (which is also configurable).
    Turloch
    Oracle Migration Workbench Team

  • Installation of SQL Server device client accesses

    Hello,
    Please help me out for the below query.
    Actually I don't have an idea of User & Device CAL Licenses. I joined newly in a company as SQL DBA but I don't know about the licensing part. So, In my present company they are having SQL Server 2008 R2 Standard Edition with 5 SQL Device CAL's. I need
    to install device CAL's for the Developers. I had checked in Licensing details. So, it is showing 5 SQL Device CAL's. When I go to download it is showing many files and basically it is not showing the CAL application. I need to know which file exactly I should
    download and install. All applications are showing the same but it is not confirming about the device CAL Application.
    Kindly let me know which file I need to download and install and how to manage device cal licenses. I searched in internet a lot but I didn't found the correct answer.
    Thanks
    Sainath 

    Hello sainathn23,
    Please close the thread by marking the answers that you got. you can vote for responses, as well, but only the person who open the thread can close it (or moderators)
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • Converting SQL Server query to access join missing operator issue

    The RIGHT JOIN without and ON clause is throwing me.  I cannot figure out where access is wanting the parenthesis in the join syntax this query:
    SELECT DISTINCT *
    FROM CANDIDATE_RECRUITERS
    INNER JOIN CANDIDATE_EVENTS 
      ON CANDIDATE_RECRUITERS.RecruiterNum = CANDIDATE_EVENTS.Recruiter
    RIGHT OUTER JOIN CANDIDATE_CUR
    INNER JOIN CANDIDATE_JOB_TITLES 
      ON CANDIDATE_CUR.JobTitle = CANDIDATE_JOB_TITLES.TitleID
    INNER JOIN CANDIDATE_COMPANY_CUR 
      ON CANDIDATE_CUR.CompanyNum = CANDIDATE_COMPANY_CUR.CompanyNum 
      ON CANDIDATE_EVENTS.CandidateNum = CANDIDATE_CUR.CandidateNUM

    Try this:
    SELECT *
    FROM (((Candidate_Recruiters
    LEFT JOIN Candidate_Events
    ON Candidate_Recruiters.RecruiterNum = Candidate_Events.Recruiter)
    RIGHT JOIN Candidate_Cur
    ON Candidate_Recruiters.CandidateNum = Candidate_Cur.CandidateNum)
    INNER JOIN Candidate_CurCompany
    ON Candidate_Cur.CompanyNum = Candidate_CurCompany.CompanyNum)
    INNER JOIN Candidate_Job_Titles
    ON Candidate_Cur.JobTitle = Candidate_Job_Titles.TitleID
    Matthias Kläy, Kläy Computing AG

  • RH server 8 - upscaling from Access to SQL Server 2008?

    Hi gang-
    We are currently running RoboHelp Server 8 on the default Access database and Tomcat. We would like to increase the number of help projects that are tracked by the RH Server, and have concerns that Access will handle the increased load, so we are considering upsizing to SQL Server 2008.
    Our IT people think this should be fairly straightforward, but want to know if Adobe provides any tool or has any recommendations when upsizing from Access to SQL Server.They are concerned about retaining things like primary and secondary keys, as well as any indexes that are currently in Access.
    If anyone has experience with such a migration, please share!
    Thanks,
    -=Ed.

    We are also currently on an Access DB and considering (have been for some time but that's a different story) upgrading to SQL Server. There is no migration tool from Access to SQL Server provided so you'd have to allow some additional effort if you want to retain the data. I am not an expert on DBs but I'm sure there are ways to migrate the data. I have found a few links when searching on Google. For example:
    http://support.microsoft.com/kb/237980
    Adobe does provide a cheat sheet at the link below which may be useful to you.
    http://blogs.adobe.com/techcomm/2009/05/advanced_database_setup_for_robohelp_server_8.html
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

Maybe you are looking for