

No other query elements are allowed.Īll Trail Blazer columns are identified as CLxxxxxx and all tables are identified as TBxxxxxx where CL means column and TB means table.Īt the top of each search window i.e. For any SQL users out there, this tab is limited to the WHERE clause. This tab allows you to enter criteria not available through the standard query panels. But there are some specialized columns and some specialized tasks for which the query engine won’t work as provided.įortunately we have a tab named SQL. The Trail Blazer query engine allows you to query ‘nearly’ everything stored in the database.
#USE COPY WITH SQL TABS HOW TO#
How to Use the SQL Tab (Advanced Search Tool) 99% of the time a search query will go hand-in-hand with a custom format, read this article to learn how to build and save formats. Tip : Once you build a search that you run often you can save it as a dynamic favorite for future use (other users will also have access to it). This article is updated periodically with new SQL query examples, so check back often. Most of these queries are requests from customers over the years, if you don’t see one that you want, please contact our tech support team 1-86. Almost all of the queries in this article are ones that can’t be run using the regular input tabs at the top of the window you’re searching in. This article provides a list of useful sql queries (searches) you can run by using the SQL tab (advanced tool) in Trail Blazer. A shame tho that you report it after we've released RTM a few days ago.Click Here to view this article as a PDF.Ĭontent Provided By: Panger, Mark & Piatt, Kevin The thing Arschr wants is simply to view the SQL query text inside the ORM profiler with the parameter values in-lined as they are when you copy the SQL query to the clipboard. There's some confusion in this thread as Puser mixed a different point into this thread, so let's not muddle the water with 2 different things Yeah I think I have a good understanding of what's required. Yes, as you move from sql statement to sql statement it's very clumsy to have to copy to the clipboard and paste into notepad or ssms in order to see the correlation between parameter values and what they relate to in the sql statement.Īt the high levels of a query the relationship is often clear, but as you get into deep prefetch paths with integer relationships, it would be nice to be able to see what the parameter value relates to.


Admitted with a lot of parameters finding the right one can be cumbersome, so having them inlined as when you copy them, is a way to work around that. The formatting could be improved a little by placing each parameter on it's own line, but as is, is fine.Īh so you want to toggle between inlined / real query in the sql query pane? Otherwise I have no idea what you want, as on the SQL pane, you have a parameters section (on the right) where you can see the parameter value. If the results of that where available/visible automatically as each query is selected it would meet my desire. There is a process that inlines the parameter values into the sql when copying to the clipboard Without a lot of toggling back and forth between the tabs What I would like to be able to see is is applied against column (field) invoiceStatusId Customerid in = the parameter tab I can see = 15
