본문 바로가기
728x90
반응형

분류 전체보기712

[DB] CUBRID 특정테이블만 export하기 1. 디렉토리 하나를 만듭니다. 큐브리드권한이 필요 2. export할 테이블리스트를 만듭니다. 예) table_list.txt 3. 만든 디렉토리위치로 간다. 명령어를 실행한다. cubrid unloaddb -u dba -i table_list.txt demodb 4. 디렉토리에 아래와 같이 파일이 생성된다. -rw-rw-r--. 1 cubrid cubrid 6680 8월 2 16:47 demodb_indexes -rw-rw-r--. 1 cubrid cubrid 849845 8월 2 16:47 demodb_objects -rw-rw-r--. 1 cubrid cubrid 189945 8월 2 16:47 demodb_schema -rw-rw-r--. 1 cubrid cubrid 291 8월 2 16:47 .. 2022. 8. 2.
[DB] CUBRID GROUP_CONCAT을 ORACLE로 전환 [CUBRID] SELECT (select IFNULL(GROUP_CONCAT(file_id SEPARATOR '|'), null) from ntb_file where parent_id = a.post_id) as file_content FROM ntb_post a WHERE BOARD_ID =11 [ORACLE] SELECT (SELECT NULLIF(LISTAGG (ATCH_FILE_ID, '|') WITHIN GROUP (ORDER BY ATCH_FILE_ID),'') FROM TN_FILEDETAIL WHERE ATCH_FILE_ID = a.ATCH_FILE_ID) as file_content FROM ntb_post a WHERE BOARD_ID =11 2022. 7. 29.
[PC활용] 하위디렉토리포함 특정확장자 삭제하기 del /F /Q /S *.hwp del /F /Q /S *.pdf del /F /Q /S *.zip del /F /Q /S *.doc del /F /Q /S *.docx del /F /Q /S *.xls del /F /Q /S *.xlsx del /F /Q /S *.log del /F /Q /S *.access del /F /Q /S *.err del /F /Q /S *.event del /F /Q /S *.txt del /F /Q /S *.mp4 del /F /Q /S *.wmv del /F /Q /S *.m4a del /F /Q /S *.gz del /F /Q /S *.alz del /F /Q /S *.xxx del /F /Q /S *.zip del /F /Q /S *.tgz del /F /Q /S.. 2022. 7. 27.
[jQuery] jquery ready 좀 깔끔하게 쓰자. @ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 $(window).on('load', function(){ title_copy('타이틀); }); $(document).ready(function(){ $(document) .on('click','.클래스명', function (e) { var linkTarget = $(this).closest('.클래스명'); if (linkTarget.hasClass('on')==true) { $('.클래스명').removeClass('on'); } else { $('.클래스명').removeClass('on'); $(this).closest('.클래스명').addClass('on'); } return false; }.. 2022. 7. 25.
[IT북마크] 단축URL만들기 https://bitly.com/ URL Shortener - Short URLs & Custom Free Link Shortener | Bitly Free URL shortener to create perfect URLs for your business. Bitly helps you create and share branded links with custom domains at scale. ✓ Check it out! bitly.com 2022. 7. 14.
728x90
반응형