Hi,
Is there a difference in performace if I create a view with tables in it OR if I create a view with query?
So it's either view with table1 and table2
OR view with query (where query contains table1 and table2)
Yes, I agree that its not related to performance and will not play any role - I am only saying the difference if you add the table directly to the view or adding query to the view.
Thanks,
Girish S.
I don't think it plays a role - which fields will be selected is defined by view fields, not data source fields.
Hi DELDYN,
As martin mentioned there is no difference in performance.
But if you create a view from the query - You can select the required(Dynamic) fields to be used and avoid unnecessary fields using Dynamic fields property at datasource level.
If you directly add a table to the view - All the fields will be added to the datasource and you cannot set the Dynamic fields property for the datasource as it will be defaulted to Yes and you cannot change that..
Thanks,
Girish S.
No, it doesn't matter, as long as you build the same query. If so, the physically view in database will be identifical and therefore performance will be identical too.
André Arnaud de Cal...
292,162
Super User 2025 Season 1
Martin Dráb
230,962
Most Valuable Professional
nmaenpaa
101,156