Hi, guys,
I am not sure if you have ever run into it, but I am trying to figure out how to fix the following problem:
Genesys ICD Data Lookup object does not support username.tablename format.
Depending on a data center, sometimes datatable have username followed by [.] attached to it. In fact this is a common practice for most of the data centers. If you look into your db, you will see that there are dbo.systables dbo.something, username.something and so on and so forth.
Well, I need to lookup a data from a database, where the tablename is called username.tablename
After defining fields and Format in CME (where tablename in FORMAT object is defined as: [username].[tablename] ) I create a strategy with a data lookup object. Guess what: after defining the fileds I want to retrieve and loading the strategy, SQL issued by URS is TRUNCATED!!!! Instead of being SELECT a,b,c from [username].[table] where a=123 it has:
SELECT a,b,c from [username]
The cause is actually ICD! I have played with it and noticed that ICD wizard cuts the rest of the sentence off after [.]
I tried different things:
[username].[tablename]
[username.tablename]
username.tablename
username.[tablename]
needless to say, nothing worked!!!
Does anyone have a workaround for this?
Interestingly enough [username].[procedurename] works just fine, so I am left with no choice but to make stored procedures for every SELECT statement I will make.
This does not make sense!!!
someone help!