Running a Saved Query Behind the Scenes

If you are having a problem using Fortress, post a message here.

Moderator: SourceGear

Post Reply
AjarnMark
Posts: 60
Joined: Mon Oct 29, 2007 4:22 pm
Location: Seattle, WA

Running a Saved Query Behind the Scenes

Post by AjarnMark » Tue Nov 17, 2009 3:47 pm

I have used SQL Reporting Services to build a few custom reports for my company, issuing SQL SELECTs directly against the databases. Now I have a scenario where the report that we want to build is based on a saved query that is already defined in Fortress. Is there an easy way that I could call for the execution of a Saved Query directly in SQL?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Running a Saved Query Behind the Scenes

Post by lbauer » Tue Nov 17, 2009 3:58 pm

Is this a History query or a query in Item tracking?
Linda Bauer
SourceGear
Technical Support Manager

AjarnMark
Posts: 60
Joined: Mon Oct 29, 2007 4:22 pm
Location: Seattle, WA

Re: Running a Saved Query Behind the Scenes

Post by AjarnMark » Wed Nov 18, 2009 11:46 am

Item Tracking.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Running a Saved Query Behind the Scenes

Post by lbauer » Wed Nov 18, 2009 2:39 pm

There is no easy way to do this. You might be able to run the query in Fortress, then capture the query structure in SQL Profiler. Contact me off-line at support at sourcegear.com, Attn: Linda for more details. Please include a link to this forum post.
Linda Bauer
SourceGear
Technical Support Manager

AjarnMark
Posts: 60
Joined: Mon Oct 29, 2007 4:22 pm
Location: Seattle, WA

Re: Running a Saved Query Behind the Scenes

Post by AjarnMark » Thu Nov 19, 2009 12:21 am

Yes, I have done a little profiling already and hoped that there was something simpler that I was missing.

Ah well, thanks anyway.

Post Reply