hany.sale72005 Posted November 17, 2014 Share Posted November 17, 2014 this code is working local but when i put in server get error select * from (WITH TAS(SELECT REF, data FROM REPORT where style IN (select column_value from table(BEH_TEST(188,2))) UNION select 'basicBehconstant' ref ,to_char(RTRIM(TRANSLATE(column_value,'01234567zxcvbnmasdfghjklqwertyuiopZXCVBNMLKJHGFDSAQWERTYUIOP89/!@#$%^&*()',' '),' ')) data FROM TABLE( beh_test(188,4) )unionselect 'sec_dic' ref, data from REPORT where ref='secondry_describ' and style=(select column_value FROM TABLE( beh_test(188,3) ))unionselect 'other_third_describ' ref, data from REPORT where ref='other_describ' and style=(select column_value FROM TABLE( beh_test( 188 ,5) ))unionselect 'other_four_describ' ref, data from REPORT where ref='other_describ' and style=(select column_value FROM TABLE( beh_test(188,6) ))unionselect ' point' ref , TO_CHAR(round (to_number(RTRIM(TRANSLATE(column_value,' ض ص ث ق ف غ ع ه خ z x c v b n m l k j h g f dZXVCBNMASDFGHJKLPOUYTREWQi s a q w e r t y u I o p ح ج د ش س ي ب ل ا ت ن م ك ط ئ ء ؤ ر لا ى ة و ز ظ ذ/!@-#$-%^&*()',' '),' ') ),3 )) data FROM TABLE( beh_test(188,4) )) SELECT *FROM TPIVOT( max( data) FOR (REF) IN ('point','basic_describ','secondry_describ','other_describ','basicBehconstant','basicbeh1','basicbeh2','basic_style'))) Error: Unknown column name : 'point' Link to comment Share on other sites More sharing options...
hozawa Posted November 18, 2014 Share Posted November 18, 2014 >select ' point' refYou have a space here. Link to comment Share on other sites More sharing options...
hany.sale72005 Posted November 18, 2014 Author Share Posted November 18, 2014 this select I used it on IReport when call this report on local machine is working good but it not work if we but on out server Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now