In a query provide an easy way to identify which field a table is coming from, either as something we can hover over or a script we can run. In a query that includes more than 2 tables in a From statement it can be difficult to figure out which table a particular field comes from, especially for an old query. I've had instances where I'm trying to figure out where a field comes from (say on a report) and there are 10 tables included and I end up commenting out tables until the field in question gives me an error, kind of inefficient. Having something I can use to quickly identify the source table (or its alias) would save a lot of time and aggravation.
|