일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- replace()
- jQuery
- MSSQL
- javascript
- DataGrid
- microsoft
- 윈도우
- 이클립스
- 오라클
- c#
- windows
- IIS
- SSRS
- aspnet
- 단축키
- 비주얼스튜디오
- CONVERT()
- oracle
- 프로시저
- 자바스크립트
- 마이크로소프트
- 태그를 입력해 주세요.
- ASP
- attr()
- Winform
- 엑셀
- Excel
- 리포팅서비스
- 윈폼
- MS
Archives
- Today
- Total
목록Openquery (1)
DJ메탈짱™의 Free Style
[MS-SQL] 오픈쿼리 Openquery with sp_executesql 결과값 반환
-- 원래 문법은 아래와 같습니다.-- 하지만 openquery 내부에 조건이 들어가지 않으므로 썩 좋은 방법은 아닐테죠….-- 그래서 마지막 예문을 참고해주시면 됩니다.DECLARE @IntVariable varchar(8);DECLARE @SQLString nvarchar(1000);DECLARE @ParmDefinition nvarchar(500);DECLARE @max_title varchar(30); SET @IntVariable = '20110303';SET @SQLString = ' SELECT @max_titleOUT = jun_date FROMOPENQUERY(MAYRESRUN,''select jun_date,plan_datefrom ffa011t'')where plan_date = @d..
일(job)/DBMS
2016. 1. 14. 16:55