• How Best to Monitor a Database Contents (2003/2007)

    Home » Forums » AskWoody support » Productivity software by function » Productivity software by function – other » How Best to Monitor a Database Contents (2003/2007)

    Author
    Topic
    #457369

    I’m not sure how best to word this so here goes, does anyone have any reccomendations on the best way to create something (be it an Infopath from, an Excel Spreadsheet, or anything else) that will allow for live (or as close to live as possible) monitoring of data from a SQL Database.

    Currently we have a view that pulls together data from several tables. This view is basicaly showing a queue of requests. The queue changes constantly as new requests come in and existing requests are completed. Currently I use a SELECT statement on the view in the SQL Server Query Tool that comes with SQL Server 2005/2008. I’m looking for an easier way to do this, something like a form that when loaded/opened will re-query the View and show the results. I’m not too concerned about looks or formatting and so an Excel Spreadsheet like layout would be fine however if I could use something that would allow some formatting control and or grouping that would be nice but I’m not married to that idea.

    We have the complete suite of Office products so I have a lot of choice however none seem to be easily setup to do this or at least its not obvious. I tried to do something in InfoPath and stopped when it showed what looked like a 2 way connection, enabling the pushing down of data as well as pulling and that is a NO-NO in thsi case. I need a READ ONLY view of this View in the database.

    It would also be nice if the ‘THING’ I came up with had the ability to automatically re-query the View every X seconds so I don’t have to continually reload or re-open the item to re-query the view.

    I would think that in all of the MS Office suite there would be something that would easily allow for setting up a monitoring form or Window for this kind of thing but if there is it isn’t very obvious.

    Any suggestions?

    Thanks

    Viewing 2 reply threads
    Author
    Replies
    • #1146550

      You might be able to create a “read-only” username/password in the database. This would be useful because any Office-based solution is likely to reveal those credentials to the curious user.

      I haven’t used it myself, but Excel does support scheduling procedures to run in the future. Please see these pages for more information:

      OnTime Method [Excel 2003 VBA Language Reference] on MSDN
      OnTime Method [Excel 2007 Developer Reference] on MSDN

    • #1146552

      A database query in Excel (in 2003: Data | Import External Data | New Database Query) has the option to refresh itself at a specified interval. Database queries in Excel are read-only.

    • #1146558

      Have you considered SQL Server Reporting Services? See Microsoft SQL Server 2008: Reporting for a starting point.

      Joe

      --Joe

      • #1147780

        joeperez,

        Actually I am intersted in looking at RS however it would need to be on SQL Server 2005 as we don’t have 2008 implemented and probably will noty for a while. I do have the CLient Tools ofr SQL 2008 though. I love the Activity Monitor in SSMS 2008 and would loooovvvee to find a way to duplicate it & create my own custom version that would query these custom views but I’ve not had much luck in finding out how to create your own custom Activity Monitor report for MSRS; any suggestions?

        Thanks

        • #1148591

          Not yet. I’m just getting into SQL Server 2008 myself. I’ve got an 800+ page book to read on SSRS and a 900+ page book to read on SSIS (integration services) after I finish the 500+ page general SQL server book. Whew!!! That is in addition to the normal day-to-day stuff.

          Joe

          --Joe

    Viewing 2 reply threads
    Reply To: How Best to Monitor a Database Contents (2003/2007)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: