Q&A

  • SQL...임다...?
SQL> select line_gate,line_line,line_item, line_kubun, mast_modl, mast_name

2 siot_stok, line_rqty, line_oqty, line_cqty,

3 from miline,misiot,mimast

4 where (line_item = mast_item) and

5 (line_item = siot_item) and

6 (line_kubun = siot_kubun) and

7 (line_gate >= '''+s_gate+''' )

8 order by line_gate, line_line

9 /

from miline,misiot,mimast

*

3행에 오류:

ORA-00936: 식이 없습니다.



아무리 찾아봐도 모르겠습니다..

3  COMMENTS
  • Profile
    컴맹... 2001.07.21 05:06
    SQL> select line_gate,line_line,line_item, line_kubun,

    mast_modl, mast_name

    2 siot_stok, line_rqty, line_oqty, line_cqty,

    3 from miline,misiot,mimast

    4 where (line_item = mast_item) and

    5 (line_item = siot_item) and

    6 (line_kubun = siot_kubun) and

    7 (line_gate >= '''+s_gate+''' )

    8 order by line_gate, line_line



    아무래두 2번눌의 Line_cqty 다음 컴마(,)가 문제인것 같군여..

    ... ,Line_cqty, from ....

    select Item의 끝에는 컴마가 오면 안되는걸루 알구 있는뎅..



    도움이 되었으면 하는군여...



    그럼 이만...





    xxx wrote:

    > SQL> select line_gate,line_line,line_item, line_kubun, mast_modl, mast_name

    > 2 siot_stok, line_rqty, line_oqty, line_cqty,

    > 3 from miline,misiot,mimast

    > 4 where (line_item = mast_item) and

    > 5 (line_item = siot_item) and

    > 6 (line_kubun = siot_kubun) and

    > 7 (line_gate >= '''+s_gate+''' )

    > 8 order by line_gate, line_line

    > 9 /

    > from miline,misiot,mimast

    > *

    > 3행에 오류:

    > ORA-00936: 식이 없습니다.

    >

    > 아무리 찾아봐도 모르겠습니다..

  • Profile
    xxx 2001.07.21 05:20
    select line_gate,line_line,line_item, line_kubun, mast_modl, mast_name,

    siot_stok, line_rqty, line_oqty, line_cqty

    from miline,misiot,mimast

    where (line_item = mast_item) and

    (line_item = siot_item) and

    (line_kubun = siot_kubun) and

    (line_gate >= '''+s_gate+''' )

    order by line_gate, line_line



    다시 했는데 SQL상에서는 문제가 없는데 프로그램을 실행시키면

    LineQuery : Field 'MAST_MODL' not found.

    라는 에러가 뜨는데 이건 왜 이러는 걸까요?

  • Profile
    어린왕자 2001.07.23 05:31
    말그대로 입니다. MAST_MODL필드가 없답니다.

    확인해보셔요



    xxx wrote:

    > select line_gate,line_line,line_item, line_kubun, mast_modl, mast_name,

    > siot_stok, line_rqty, line_oqty, line_cqty

    > from miline,misiot,mimast

    > where (line_item = mast_item) and

    > (line_item = siot_item) and

    > (line_kubun = siot_kubun) and

    > (line_gate >= '''+s_gate+''' )

    > order by line_gate, line_line

    >

    > 다시 했는데 SQL상에서는 문제가 없는데 프로그램을 실행시키면

    > LineQuery : Field 'MAST_MODL' not found.

    > 라는 에러가 뜨는데 이건 왜 이러는 걸까요?