mssql 백업, 복원 예상 시간
mssql 백업, 복원 예상 시간 SELECT r.session_id,r.command ,cast(CONVERT(NUMERIC(6,2),r.percent_complete) as varchar) + ' %' AS [Percent Complete] ,CONVERT(VARCHAR(20),DATEADD(ms,r.estimated_completion_time,GetDate()),20) AS [ETA Completion Time] ,CONVERT(NUMERIC(10,2),r.total_elapsed_time/1000.0/60.0) AS [Elapsed Min] ,CONVERT(NUMERIC(10,2),r.estimated_completion_time/1000.0/60.0) AS [ETA Min] ,CONVERT(N..
2023. 5. 23.
oracle 달력 sql
oracle 달력 sql select sun, mon, tue, wed, thu, fri, sat from ( select week, max(decode(dat, 1, day)) as sun, max(decode(dat, 2, day)) as mon, max(decode(dat, 3, day)) as tue, max(decode(dat, 4, day)) as wed, max(decode(dat, 5, day)) as thu, max(decode(dat, 6, day)) as fri, max(decode(dat, 7, day)) as sat from ( select to_char(dates, 'DD') as day, to_char(dates, 'D') as dat, to_char(dates, 'D') - ..
2022. 7. 8.