[[--RecordStart,content--]]NULL[[--ArtFieldValue,adf_bcont01--]][[--IfStart,Exist:adf_bcont02--]][[--ThenStart--]][[--ArtFieldValue,adf_bcont02--]][[--ThenEnd--]][[--IfEnd--]][[--RecordEnd--]]
[[--IfStart,is:content>NULL--]][[--ThenStart--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(<(/)?([a-zA-Z]*)(\\s[a-zA-Z\\200-\\377]*=[^>]*)?(\\s)*(/)?>),To:--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:("),To:"--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:("),To:"--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(#),To:#--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:($),To:\$--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(%),To:%--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(&),To:&--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:('),To:'--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:((),To:(--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:()),To:)--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(*),To:*--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(+),To:+--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(,),To:\,--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(-),To:---]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(.),To:.--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(/),To:/--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(:),To::--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(;),To:;--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(<),To:<--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(=),To:=--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(>),To:>--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(?),To:?--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(@),To:@--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:([),To:[--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(\),To:\\--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(]),To:]--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(^),To:^--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(_),To:_--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(`),To:'--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:({),To:{--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(|),To:|--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(}),To:}--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(~),To:~--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:( ),To:#SPACE#--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--SubStringStart,4~--]][[--Write,content--]][[--SubStringEnd--]][[--RecordEnd--]]
[[--RecordStart,content--]][[--ReplaceStart,Regex:(
),To:--]][[--Write,content--]][[--ReplaceEnd--]][[--RecordEnd--]]
[[--SubStringStart,length:~[%word%]--]][[--ReplaceStart,regex:
,to:--]][[--Write,content--]][[--ReplaceEnd--]][[--SubStringEnd--]]...
[[--ThenEnd--]]
[[--ElseStart--]][[--ArtText,filter:text,Length:[%word%]--]][[--ElseEnd--]][[--IfEnd--]]
2010년 12월 28일 화요일
2010년 12월 23일 목요일
로그 줄이기
0. 로그 백업
declare @path varchar(1000)
set @path= 'E:\DBBackup\iCashDB_' + replace(convert(varchar(10),getdate(),121),'-','') + '.trn'
BACKUP LOG iCashDB TO DISK = @path
1. 로그 파일 크기 확인
DBCC SQLPERF(LOGSPACE)
2. 로그 데이터 지우기
BACKUP LOG DataBaseName WITH NO_LOG
3. 로그 파일 크기 줄이기
DBCC SHRINKFILE(DataBaseName_LOG, 1)
(1 : 1MB 크기로 줄임)
declare @path varchar(1000)
set @path= 'E:\DBBackup\iCashDB_' + replace(convert(varchar(10),getdate(),121),'-','') + '.trn'
BACKUP LOG iCashDB TO DISK = @path
1. 로그 파일 크기 확인
DBCC SQLPERF(LOGSPACE)
2. 로그 데이터 지우기
BACKUP LOG DataBaseName WITH NO_LOG
3. 로그 파일 크기 줄이기
DBCC SHRINKFILE(DataBaseName_LOG, 1)
(1 : 1MB 크기로 줄임)
2010년 12월 19일 일요일
SP 수정 날짜, 생성 날짜 조회
SELECT name , create_date,modify_date FROM sys.objects
WHERE type = 'P' and
name in(
'www@USP_ProgramContentList_ByProgramCode',
'www@USP_ProgramContentListDetail_ByProgramCode'
)
WHERE type = 'P' and
name in(
'www@USP_ProgramContentList_ByProgramCode',
'www@USP_ProgramContentListDetail_ByProgramCode'
)
피드 구독하기:
글 (Atom)