Viewing 15 posts - 2,941 through 2,955 (of 7,191 total)
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...
November 26, 2015 at 7:23 am
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...
November 26, 2015 at 6:00 am
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...
November 26, 2015 at 5:16 am
Why not just incorporate the query that determines the parameter values into the report?
John
November 26, 2015 at 5:01 am
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...
November 26, 2015 at 4:08 am
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
November 26, 2015 at 3:41 am
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...
November 26, 2015 at 3:06 am
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...
November 26, 2015 at 2:15 am
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
November 25, 2015 at 4:27 am
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...
November 25, 2015 at 3:57 am
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...
November 25, 2015 at 3:28 am
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. ...
November 24, 2015 at 7:21 am
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
November 24, 2015 at 6:20 am
Please will you post the whole query, redacted or obfuscated as necessary?
Thanks
John
November 24, 2015 at 5:27 am
If you run the exact same query in a query window, do you get a row count in the Messages pane?
John
November 24, 2015 at 4:46 am
Viewing 15 posts - 2,941 through 2,955 (of 7,191 total)