Path: utzoo!mnetor!uunet!kddlab!icot32!isvax!minohara From: minohara@isvax.islab.melco.JUNET (Tatsuo Minohara) Newsgroups: comp.databases Subject: about SQL2 definitions (In n) Message-ID: <1279@isvax.islab.melco.JUNET> Date: 26 Apr 88 08:31:05 GMT Organization: Mitsubishi Electric, Kamakura, Japan Lines: 59 Keywords: SQL2,dynamic SQL, prepared statement How do you do. This is T. Minohara in Japan. I am sorry that my English is very poor. I am reading the 'ISO SQL Working Draft Database Language SQL2 March 1988'. I have some questions and proposals to it. So, I am trying to send them to the Japanese member of the working group. If you have a copy of it, please think whether following my opinions is correct or not, and please reply. Thank you in advance. 1. ABOUT page 42. Syntax Rules 3) A or shall be contained in . A or shall be contained in an . A shall be contained only in a . ----------------------- I wonder it (the part of underline). If it would be correct, one may write (equal to '?') in , etc. I suppose it must be that is defined in page 215. Therefore, 3) ........... A shall be contained only in a . 2. ABOUT page 215-216. General Rules 2) The following restrictions apply to the . I propose the following explicit restrictions to the rules, nevertheless the above definition (p.42 Syntax Rules 3) ). f) It shall not include , , and . For example, is the following correct ? SELECT A, B, C FROM D WHERE E = :EMBEDVARNAME Because it () includes the embedded variable, I suppose it is not correct. If one use embedded variables in the , the SQL language processor of the dynamic SQL might know the memory location of the variable in runtime. I suppose it is impossible... Alternatively, one may attach the word 'only' to the all paragraph of the p.42 Syntax Rules 3). But, I think the explict restriction is better. Thank you to read my Japanese-English !!