이글에서도 말했지만 오라클 정말 뭐같다

SP실행을 PRO*C에서는 쿼리가 또 다르다. -_-;

EXEC SQL AT :nDB
                call SP_CP_ANL_RESULT(:anl_result.cHeatNo, :anl_result.cAnalID);
이번엔 Call로 불러야한단다.
내가 별짓을 다해서(사실 몇분 삽질만했지만 그래도...) 알아낸거...
시간 정말 아깝다 으엉엉 ㅠ.ㅠ
크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by shiftkey

2007/11/20 14:07 2007/11/20 14:07
, , , , ,
Response
No Trackback , No Comment
RSS :
http://shiftkey.org/rss/response/108

int ExecRecord(CString str_Query)
    {
        CCommand<CNoAccessor, CNoRowset> Customer;

        //        HRESULT hr = CoInitialize(0);

        return Customer.Open(m_session,str_Query);
    }
위와 같은 함수가 있다 치자
    strQuery.Format("BEGIN PD_LD_PREHEAT(2); END;");
    int x = dbConnDBSvr.ExecRecord(strQuery);
이렇게 실행하면 된다.
MSSQL은 "EXEC 프로시저명" 하면 되는데
왜 오라클은 이렇게 뭐같이 해야하는건지...
오라클 정말 짜증난다.


크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by shiftkey

2007/11/10 20:25 2007/11/10 20:25
, , , ,
Response
No Trackback , No Comment
RSS :
http://shiftkey.org/rss/response/106


블로그 이미지

Shiftkey가 살아가는 이런 저런 이야기......

- shiftkey

Notices

Archives

Authors

  1. shiftkey

Calendar

«   2012/05   »
    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    

Site Stats

Total hits:
160875
Today:
150
Yesterday:
156