Upper Case in Oracle sql -


i trying create view majors , minors w/ upper case, oracle keeps giving me error. doing wrong?

create view a5t4 as

select studentid, major1, major2, minor

from a5

where upper(major1, major2, minor)

order studentid;

the error is: error report - sql error: ora-00909: invalid number of arguments 00909. 00000 - "invalid number of arguments" *cause:
*action:

the error in clause. if want fields upper case, use function in select clause, not in clause.

try :

create view     a5t4  select     upper(studentid) "studentid",     upper(major1) "major1",     upper(major2) "major2",     upper(minor) "minor"     a5 order     upper(studentid); 

Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -