List of Contributions

Contact Details

Rochester Institute of Technology

Ribbons

Badges

Pheng Xiong, Ph.D.

Rochester Institute of Technology

Contributions

1 to 5 of 8 total
Posted By Pheng Xiong 03-19-2026 07:59 AM
Found In Egroup: PS Query & SQL
\ view thread
Hi Daron, I just took a look at my query and found the issue was because of A.DESCRLONG and C.DESCRLONG. I've removed them and now the listagg works as expected. Thanks for your help. ------------------------------ Pheng Xiong Ph.D. Senior Associate Registrar Rochester Institute of Technology ...
Posted By Pheng Xiong 03-19-2026 07:41 AM
Found In Egroup: PS Query & SQL
\ view thread
Hi Daron, Here is my full SQL: SELECT B.ACAD_GROUP, B.SUBJECT, B.CATALOG_NBR, A.CRSE_ID, A.COURSE_TITLE_LONG, A.DESCRLONG, A.COMPONENT_PRIMARY, E.DESCR, C.DESCRLONG, B.SSR_CRSE_TYPOFF_CD, B.CAMPUS, CASE WHEN A.UNITS_MINIMUM = A.UNITS_MAXIMUM THEN TO_CHAR( A.UNITS_MINIMUM | | '.00') WHEN A.UNITS_MINIMUM ...
Posted By Pheng Xiong 03-18-2026 09:05 PM
Found In Egroup: PS Query & SQL
\ view thread
I'm working on a query to identify a list of courses in the course catalog with a GE course attribute (CRSE_ATTR). I created a LISTAGG expression to list the Course Attribute Value (CRSE_ATTR_VALUE) all on one row instead of multiple rows, but I am getting a CLOB error message. Here is my expression: ...
Posted By Pheng Xiong 01-29-2026 12:05 PM
Found In Egroup: PS Query & SQL
\ view thread
Thank you, Daniel. That seems to have worked. I didn't think about a subquery. ------------------------------ Pheng Xiong Senior Associate Registrar Rochester Institute of Technology ------------------------------ Message from the HEUG Marketplace: ------------------------------ Find, Review, ...
Posted By Pheng Xiong 01-29-2026 11:45 AM
Found In Egroup: PS Query & SQL
\ view thread
Thanks Vic. I initially had it set as an expression as you noted, but the issue is that the term table will display the description for every term the class was offered, ignoring the expression. Here i a screen capture of what I saw when I used the expression of max(STRM) with and without the TERM_V ...