Search
 
SCRIPT & CODE EXAMPLE
 

SQL

sql server 2012 query history

SELECT t.[text]
FROM sys.dm_exec_cached_plans AS p
CROSS APPLY sys.dm_exec_sql_text(p.plan_handle) AS t
WHERE t.[text] LIKE N'%something unique about your query%';
Comment

PREVIOUS NEXT
Code Example
Sql :: mysql set root password 
Sql :: oracle list tables 
Sql :: sqlite3 how to get column names of a table 
Sql :: how to check database size in mysql 
Sql :: funzioni plsql 
Sql :: mysql show foreign keys 
Sql :: mysql add column default value 
Sql :: rails run native ssql query 
Sql :: oracle sql drop table 
Sql :: monthname sql 
Sql :: query any digits record 
Sql :: mac os zsh: command not found: mysql 
Sql :: create procedure with encryption 
Sql :: insert postgres 
Sql :: list all tables and columns in postgresql 
Sql :: postgresql show owner of database 
Sql :: import sql file in mysql 
Sql :: tsql rename table 
Sql :: drop table if exists oracle 
Sql :: alter table drop column 
Sql :: update select 
Sql :: sqlserver create table from select 
Sql :: sql query inline if 
Sql :: sql insert timestamp 
Sql :: what is initial catalog in sql connection string 
Sql :: mysql round 
Sql :: sql empty table 
Sql :: add new column not null sql server 
Sql :: add auto increment column mysql 
Sql :: sql server date format dd/mm/yyyy 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =