我在我的存储过程中使用以下部分,它会引发错误:- 错误报告:
ORA-00923: FROM keyword not found where expected
问题是列名包含我用粗体突出显示的行的空格。它是字符串连接
//Evt_label has varchar values with spaces eg. Stack OverFlow
select TYT_LIBELLE into evt_label from trb_type_trv where tyt_id= x.tyt_id;
***sql_Columns := sql_Columns ||',T_"'|| evt_label||'"Total'||vTytCnt;***
//Error Comes when i execute this line
select sql_Columns from table1;