is there anyway to send an email if no record has been submited during the day

  • I want to send an email if the table in SQL hasn't been update in the day

    Can I do it with powerapps o flow?

  • Thanks for posting your issue and hopefully someone will answer soon.

    This is an automated bump to increase visibility of your question.

  • I don't even know what "powerapps o flow" is.

    If the machine hasn't recently been rebooted and the SQL Server Service hasn't recently been bounced, you could check sys.dm_db_index_usage_stats to see if there were any inserts/updates according to the last_user_update column.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • You could do it with a SQL Agent job and a call to DBMail.

Viewing 4 posts - 1 through 3 (of 3 total)

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