Howto create SP for DBCC CHECKDB that can be run from MS Access

  • Our MSAccess applications use dsn-less connections with SQL Server Native Client (are distrubuted with Citrix).

    While building a maintenance form for the Access users to perform various maintenance task.

    I don't really give the average Access persons in my SQL Server.

    What I would prefer is to have some kind of SP or Function that allows

    DBCC CHECKDB

    to be run from a control button on an Access form and return the basic results.

    Our SQL Databases are each on the order of 50 MB to 400 MB if that needs to be known.

    Any suggestions would be very welcome.

  • Mile Higher Than Sea Level (12/20/2013)


    Our MSAccess applications use dsn-less connections with SQL Server Native Client (are distrubuted with Citrix).

    While building a maintenance form for the Access users to perform various maintenance task.

    I don't really give the average Access persons in my SQL Server.

    What I would prefer is to have some kind of SP or Function that allows

    DBCC CHECKDB

    to be run from a control button on an Access form and return the basic results.

    Our SQL Databases are each on the order of 50 MB to 400 MB if that needs to be known.

    Any suggestions would be very welcome.

    Why in the world do you want Access users to run DBCC CHECKDB???? This is an administrative tool, not something you put in the hands of anybody.

    _______________________________________________________________

    Need help? Help us help you.

    Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

    Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.

    Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
    Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
    Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
    Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply