This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- http://msdn.microsoft.com/ko-kr/library/ms189741.aspx | |
SELECT TOP 20 query_stats.query_hash AS "Query Hash", | |
SUM(query_stats.total_worker_time) / SUM(query_stats.execution_count)/1000 AS "Avg CPU Time", | |
MIN(query_stats.statement_text) AS "Statement Text" | |
FROM | |
(SELECT QS.*, | |
SUBSTRING(ST.text, (QS.statement_start_offset/2) + 1, | |
((CASE statement_end_offset | |
WHEN -1 THEN DATALENGTH(ST.text) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// jquery.jqGrid.src.js | |
// | |
// | |
// setPager = function (pgid, tp){ | |
// ................... | |
// ............ | |
// ..... | |
$('input.ui-pg-input',"#"+pgcnt).keypress( function(e) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://goo.gl/UWuR3W | |
IEnumerable<string> numbers = Enumerable.Range(1, 100).Select(x = > x.ToString("D3")); | |
foreach(var n in numbers) | |
Console.WriteLine(n); | |
// | |
// 001 | |
// 002 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cd %1 | |
git ls-files -m > %2.txt | |
echo 'done' %2.txt |
NewerOlder