[MSSQL] 문자열에서 첫시작을 한글, 영어, 숫자등 글자로 부터 시작부터 읽어들이기
[MSSQL] 문자열에서 첫시작을 한글, 영어, 숫자등 글자로 부터 시작부터 읽어들이기 - substring(contents_notag, patindex('%[a-zA-Z0-9가-힣]%',contents_notag) SELECTTOP 1 A.contents_notag, REPLACE(A.contents_notag,CHAR(13)+CHAR(10),' ') contents_notag1, SUBSTRING(contents_notag, PATINDEX('%[a-zA-Z0-9가-힣]%',contents_notag),len(contents_notag)) contents_notag1 -- 첫 단어가 영어 숫자 한글 일반글자부터나타내기 FROMTbTest A ORDER BYnThread DESC
더보기
css 파일의 class 지정으로 2단 list 루프 돌리기
css 파일의 class 지정으로 2단 list 루프 돌리기 - 2단 계시판 형식일 때 사용- 별도의 프로그램에서 처리없이 걍 하나의 class로 루프 돌림 1. css - 양쪽 끝에 라인을 맞게 하기 위해 .productbox_u:nth-child(even), .productbox_u:nth-child(odd) 사용- IE 8.0 이하의 경우 nth-~~ 필터가 먹지 않으므로 .productbox_u 기술 html, body, div, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, address, dl, dt, dd, ol, ul, li, fieldset, form, legend, table, caption, tbody, tfoot, thead, tr..
더보기