SELECT 운용사펀드코드, (SELECT 설정일 FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0','Excel 12.0;Database=D:\20170703\설정일생성.xlsx;','SELECT * FROM [Sheet1$]') WHERE 펀드코드 = A.운용사펀드코드) AS 설정일 FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0','Excel 12.0;Database=D:\20170703\펀드설정전체.xlsx;','SELECT * FROM [Sheet1$]') A ----------------------------------------------- 기본셋팅 1. Ad Hoc Distributed Queries 옵션 활성화 EXEC sp_config..
UPDATE TB_MARKETING AA SET (AGENCY_ID) = (SELECT AGENCY_ID FROM TEMP_GROUP B WHERE B.GROUP_NAME =AA.GROUP_NAME) SELECT E.ID, E.SUBID, T.SUBID UPDATE TB_MARKETING SET SUBID = T.SUBID FROM TB_MARKETING E INNER JOIN #TEMP_GROUP T ON ( E.SEQ = T.SEQ )
-- MERGE UPDATE MERGE INTO IFT_FUND_STANDARD_PRICE_RESULT A USING ( SELECT TIMS_DATE,FUND_CODE,BM_INDEX,BM_RATE FROM IFT_FUND_STANDARD_PRICE_RESULT WHERE FUND_CODE ='10110' AND TIMS_DATE > '20130115' ) B ON ( A.TIMS_DATE = B.TIMS_DATE AND A.FUND_CODE ='10112' ) WHEN MATCHED THEN UPDATE SET A.BM_INDEX = B.BM_INDEX, A.BM_RATE = B.BM_RATE ============================================================..
- Total
- Today
- Yesterday
- server
- DB
- java
- Oracle
- apache
- mssql
- 설정
- Linux
- 파일
- 테이블
- eclipse
- delete
- 윈도우
- Toad
- Shell
- 리눅스
- sql
- 백업
- user
- DATABASE
- tomcat
- MySQL
- select
- Windows
- 자동차
- IP
- 데이터
- 오라클
- table
- 서버
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
29 | 30 | 31 |