How to get query plans (showplan.out) from Access 2010?

后端 未结 2 1001
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-19 12:48

I\'m trying to figure out how to execute a dynamic append query in Access 2010 against an ODBC database table (see question 12592953) and someone suggested enabling the show

2条回答
  •  天涯浪人
    2020-12-19 13:10

    Thanks @Fionnuala

    For Access 2010 32 bit You will need the following key:

    On Windows 7 32 bit:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Access Connectivity Engine\Engines\Debug]
    "JETSHOWPLAN"="ON"
    

    or on Windows 7 64 bit:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\14.0\Access Connectivity Engine\Engines\Debug]
    "JETSHOWPLAN"="ON"
    

    I needed to create the folder Debug to put the key in.

提交回复
热议问题