Category: DB

데이터베이스 관련 카테고리입니다.

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;
DB

[MS-SQL] 오류 해결방법com.microsoft.sqlserver.jdbc.SQLServerException: The value is not set for the parameter number 번호

엑셀 일괄 업로드 기능을 구현하는 과정에 오류가 발생했다. 처음 보는 오류이다. try { SqlMapClient smc = commonDAO.getSqlMapClientTemplate("dataSource").getSqlMapClient(); smc.startTransaction(); smc.startBatch(); ...저장할 데이터 변수 설정은 생략........ smc.update("test.saveUser",...
error: Content is protected !!