Who is online?  0 guests and 1 members
Home  »  Blogs  »  briankmcdonald: September 2010

Communifire Blogs

Blogs RSS Feed

briankmcdonald :September 2010 postings

briankmcdonald

Retrieving Report Names for SSRS Subscription Jobs

9/3/2010 by briankmcdonald  -  Comments: 0  -  Views: [13494]

The way Reporting Services creates subscriptions is through generating a SQL Server Agent job. This is apparent when you look at the jobs on the database server that Reporting Services is configured to use. At any rate, when the jobs are created, they are named with a very hard to determine GUID. Here is a quick sample query how you might get some of the “Report Names” to match the “jobs”. SELECT c . Name AS ReportName , rs . ScheduleID AS JOB_NAME , s . [Description] , s . LastStatus , s . Last...

Read More

briankmcdonald

Using WITH NOLOCK

10/24/2010 by briankmcdonald  -  Comments: 0  -  Views: [2814]

A colleague of mine and I were recently talking about some scripts that they had seen containing the WITH NOLOCK hint. They asked me what it was and my basic answer is this…Using WITH NOLOCK will return records as they currently are stored regardless of if someone is updating them at that point in time. Updating tables causes a lock to be held. If you don’t use WITH NOLOCK (the WITH is optional by the way), when someone is updating the table, you will not get results until the update has complet...

Read More

Page 1 of 1 (2 items)