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

后端 未结 2 1002
爱一瞬间的悲伤
爱一瞬间的悲伤 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.

    0 讨论(0)
  • 2020-12-19 13:18

    You will need the following key:

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

    The above is exported from my Windows 7 registry running Access 2010, and produces showplan.out for me.

    0 讨论(0)
提交回复
热议问题