Forum Replies Created

Viewing 15 posts - 1,171 through 1,185 (of 6,676 total)

  • Reply To: Better Practices for writing this query?

    You could change your function to this:

    CREATE FUNCTION [dbo].[fnGetSeconds]
    (
    @TimeFormatted varchar(10)
    )
    RETURNS Table
    WITH schemabinding
    AS
    RETURN
    SELECT (LEFT(@TimeFormatted,2)*3600) +
    ROUND(DATEDIFF(MS, 0, '00'...

    Jeffrey Williams
    “We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”

    ― Charles R. Swindoll

    How to post questions to get better answers faster
    Managing Transaction Logs

  • Reply To: Dynamic parameter transfer in msdb.dbo.sp_send_dbmail

    christi1711 wrote:

    Hi all,

    yes, I got it. Thanks. I only try to remove users and group only by date

    I don't understand - your original query had the user - but now...

    Jeffrey Williams
    “We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”

    ― Charles R. Swindoll

    How to post questions to get better answers faster
    Managing Transaction Logs

  • Viewing 15 posts - 1,171 through 1,185 (of 6,676 total)