COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Framework Manager => Topic started by: Jaspire on 11 May 2008 01:21:18 PM

Title: Editing query subjects to include special characters in query items
Post by: Jaspire on 11 May 2008 01:21:18 PM
Hi,
I am editing Query subject to include , and other characters like ' in the names of the fields pulled through the SQL. But the SQL is not validated. I enclosed the name in "". But still I am getting error. Can you please advice me on how I can give names to the queryitems which include special characters?
Thanks,
Jaspire
Title: Re: Editing query subjects to include special characters in query items
Post by: almeids on 12 May 2008 07:37:16 AM
Given that Cognos' apps are notoriously fussy about special characters, and given that even if you can make it work now it is likely to blow up in your face at some point (like during/after an upgrade), why would you want to do that?
Don't risk it (this is a dozen years of Cognos and untold hours of troubleshooting special-character-related problems experience speaking).  If it's to make it easier for unsophisticated users to drag and drop, just show them how to edit their column titles, that doesn't take much sophistication.
Title: Re: Editing query subjects to include special characters in query items
Post by: Jaspire on 12 May 2008 09:35:55 AM

Thanks Almeids. It seems you had hard time with these special characters. Actually I need to develop a cube which is similar to other exisitng one which was done using Impromptu. So I was looking for a way to get the same type of fileds. But it seems its better if I leave worrying about this.
Thanks again,
Jaspire
Title: Re: Editing query subjects to include special characters in query items
Post by: almeids on 12 May 2008 11:49:06 AM
I guess I don't understand what your goal is.  You can rename query columns in your Transformer model, but (other than default Measure names when you first drag them in) those aren't visible to users in the cube anyway.