sql server 2012 - what is the use of QueryDefs in MSAccess (VBA) -


we using ms access front end , sql server end.i want know use of querydefs temporary table.what advantage of using querydefs ?

you can think of querydefs being views on sql server. stored sql query. querydef query appears on navigation pane under queries.

if using types of conditional formatting in forms form must based on querydef (eg barcharts in control).

instead of using built sql statement, creating querydef if can debugging.

the performance benefits depend on structure of sql query, influenced whether using dao, ado or pass though queries access sql server data , on whether use parameters (to enable execution plan re-used).

general advise use pass through queries , leverage use of sql server stored procedures, functions , views.

harvey


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -