Forum Replies Created

Viewing 15 posts - 2,941 through 2,955 (of 7,191 total)

  • RE: Send ssrs report to variable emails

    dopydb (11/26/2015)


    yea, but if i have 100 suppliers then i need 100 subscriptions?

    Yes.

    iv managed to send the report using a script, so i think if i can pass the email...

  • RE: Send ssrs report to variable emails

    Mal

    You don't need a separate report per supplier - just a separate subscription. You might need to change your report a little to get to where you want to...

  • RE: Send ssrs report to variable emails

    Mal

    Have you tried using subscriptions? You can specify parameters for those - not dynamically, as far as I'm aware, but all you need to do is pass the supplier...

  • RE: Send ssrs report to variable emails

    Why not just incorporate the query that determines the parameter values into the report?

    John

  • RE: Data Flow Task working very slow due to left join in source

    Have you tested the individual components of the flow to see where the bottleneck is? How long does it take to run the query locally? How long does...

  • RE: Happy Thanksgiving 2015

    Larnu (11/26/2015)


    Unless I'm doing something funny, when I run D, I actually get 27/11/2015. Just me?

    Possibly. I get 2013-11-28 00:00:00.000.

    John

  • RE: deleted table scope

    Yes, I suppose that so long as your trigger doesn't cause itself to fire again, you should be OK. I wouldn't swear to that, though - you'll want to...

  • RE: Data collection

    No cursors? Why not? You're looping through 100 servers, so even if you don't have an explicit cursor, the effect is going to be the same. This...

  • RE: Executing SQL JOB with Parameter

    You can't pass a parameter to a job. Can I ask why you're reluctant to create a stored procedure? That would be the normal way of doing it.

    John

  • RE: Trigger to update old ad new values

    You're doing this the wrong way. First, stop using sysobjects, which is provided for backwards compatibility with SQL Server 2000 only. Second, why do you need to use...

  • RE: Trigger to update old ad new values

    It's not clear what your requirement is, but since up UPDATE statement is effectively a DELETE followed by an INSERT, you'll need to query both the Inserted and Deleted virtual...

  • RE: Data collection

    sqlcmd is nothing but a utility that runs SQL scripts. If it doesn't meet your requirement, please provide more information on that requirement and the reason for it. ...

  • RE: Data collection

    No. If you're going to do it regularly, create an SSIS package or do it with the sqlcmd utility. You can run either of those from a job.

    John

  • RE: set nocount on

    Please will you post the whole query, redacted or obfuscated as necessary?

    Thanks

    John

  • RE: set nocount on

    If you run the exact same query in a query window, do you get a row count in the Messages pane?

    John

Viewing 15 posts - 2,941 through 2,955 (of 7,191 total)