title: is there a possibility to run sys.dm_exec_sql_text in sql server 2000
body: <p>Does any know if this query can be converted and run in sql 2000</p>
  
  <pre><code>SELECT deqs.last_execution_time AS [Time], dest.TEXT AS [Query]
  FROM sys.dm_exec_query_stats AS deqs
  CROSS APPLY sys.dm_exec_sql_text(deqs.sql_handle) AS dest
  WHERE dest.TEXT like '%sp_OACreate%'
  ORDER BY deqs.last_execution_time DESC
  </code></pre>
  
  <p>Thanks</p>