Author: 관리자

DB

[ms-sql]저장 프로시저 호출 통계 (stored procedure statistics) 보는 스크립트

저장 프로시저 호출 통계 SELECT TOP 30 d.object_id , d.database_id , OBJECT_NAME(object_id, database_id) ‘proc name’ , d.cached_time, d.last_execution_time, d.total_elapsed_time , d.total_elapsed_time/d.execution_count AS [avg_elapsed_time] , d.last_elapsed_time, d.execution_count FROM sys.dm_exec_procedure_stats AS d ORDER BY [total_worker_time] DESC;
C#

[.net mvc]Grid 페이지 이동 후 이전페이지로 돌아왔을 때 Grid 필터값 유지하는 방법

    @(Html.Kendo().Grid< Model.View.DetailModel >()    .Name("GridListBRB")    .Columns(columns =>    {          columns.Bound(c => c.IsChkYn).ClientTemplate("< input type='checkbox' #= IsChkYn ? checked='checked':'' # class='chkbx' />")                                     .Width("1%").Title("< input type='checkbox' id='checkAll' onclick='fnCheckAll(this)'/>").Sortable(false).Filterable(false);          columns.Bound(p => p.CodeIdx).Hidden(true);          columns.Bound(p => p.RowNum).Title("No").Width("2%").Sortable(false);          columns.Bound(p => p.FileName).Title("파일명").Width("30%").HtmlAttributes(new { style = "text-align:left;" }).Sortable(false).ClientTemplate(@Html.ActionLink("#=FileName#", "DetailPage", new { CodeIdx = "#=CodeIdx#" }).ToHtmlString());          columns.Bound(p => p.RegName).Title("작성자").Width("10%").Sortable(false);          columns.Bound(p => p.LastUpdateDate).Title("등록일").Width("10%").Sortable(false);...