일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- outlook mac
- Teams화상회의
- OneDrive 설정
- chrome 오류
- 화상회의
- 아웃룩 초기화
- Microsoft
- 원드라이브 동기화 문제
- Chrome 버그
- sharepoint
- 아웃룩 프로필 초기화
- 팀즈
- Outlook Web
- Teams
- Outlook on the web
- Teams Guest
- 아웃룩웹
- OneDrive Sync Error
- outlook
- OWA
- 아웃룩 맥 에러
- 원드라이브 설정
- MS Office
- Outlook 초기화
- Outlook rule
- O365
- 쉐어포인트 외부 공유
- 원드라이브 동기화 해제
- Office 365
- Onedrive
- Today
- Total
IT민들레 - M365 Specialist
user-agent 에 따른 browser 명 업데이트 SQL 본문
브라우저 agent명으로 browser 이름을 지정하기 위한 SQL문을 작성해 보았습니다. 노가다성이지만 적절히 활용해 보세요.
특히 Windows10 + IE11 환경에서는 trident/8.x 로 지정해준 MS의 특이한 발상을 볼 수 있답니다.
/*
IE 브라우저 버전정보 업데이트 160217
*/
update 테이블명
set browser = (
case
when INSTR(LOWER(user_agent),'trident/') > 0
then
case
when INSTR(LOWER(user_agent),'trident/8.') > 0 then 'Internet Explorer 11' --Windows 10 + IE11
when INSTR(LOWER(user_agent),'trident/7.') > 0 then 'Internet Explorer 11'
when INSTR(LOWER(user_agent),'trident/6.') > 0 then 'Internet Explorer 10'
when INSTR(LOWER(user_agent),'trident/5.') > 0 then 'Internet Explorer 9'
when INSTR(LOWER(user_agent),'trident/4.') > 0 then 'Internet Explorer 8'
else 'This browser have not Trident words'
end
else
case
when INSTR(LOWER(user_agent),'msie 11') > 0 then 'Internet Explorer 11'
when INSTR(LOWER(user_agent),'msie 10') > 0 then 'Internet Explorer 10'
when INSTR(LOWER(user_agent),'msie 9') > 0 then 'Internet Explorer 9'
when INSTR(LOWER(user_agent),'msie 8') > 0 then 'Internet Explorer 8'
when INSTR(LOWER(user_agent),'msie 7') > 0 then 'Internet Explorer 7'
when INSTR(LOWER(user_agent),'msie 6') > 0 then 'Internet Explorer 6'
else 'This browser have not MSIE words'
end
end
)
'IT, Digital, 컴퓨터, 스마트폰' 카테고리의 다른 글
오라클 #19 PL/SQL - IF문, FOR문, WHILE문 (0) | 2016.02.25 |
---|---|
IP기준 위치정보(도시, 타임존 등) 제공 서비스 (0) | 2016.02.25 |
Line(라인) 메신저의 화면캡처 기능 (1) | 2016.02.18 |
Gmail의 첨부파일 누락 방지 기능 (0) | 2016.02.17 |
컴퓨터 사용중에 불필요한(이상한)창 자꾸 나타납니다 (0) | 2016.02.16 |