on 09-27-2011 9:09 AM
Hi,
in Universe Designer query panel generates correct SQL with BEGIN_SQL (SET DATEFORMAT mdy) and END_SQL (ORDER BY ...) parameter values:
SET DATEFORMAT mdy
SELECT ...
FROM ...
ORDER BY ...
Web Intelligence only generates SQL script with END_SQL parameter value. The BEGIN_SQL statement is missing.
Does SQL Server 2008 support BEGIN_SQL?
We tried it with OLE DB and ODBC connection in BO 3.1 environment.
Thanks!
Hello,
Which version of SAP BOBJ XI3.1 you are using?
What I am aware is BEGIN_SQL was very well working for SQLServer2005 in case of ODBC connection.
Can you try one thing for SQLServer2008 have a Native driver installed on your client machine and use ODBC connection rather than OLEDB connection.
If that works fine, its good
Otherwise you can raise a message for resolving this problem with the support team.
Thanks,
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Probably this may require some kind of code change if it is not working.
There is another workaround you can try if you don't have too many reports.
When you create say webi report from "ViewSQL" button edit the query provide this BEGIN_SQL directly to the query and select the option "Do not generate SQL before running" check if this helps you out.
Thanks,
Vivek
Hi Vivek,
I know this workaround but it is not a nice solution. Maybe for existing reports. New reports have to create uncomfortably.
In Universe Designer the query panel generates the SQL correctly with BEGIN & END_SQL. But WebI doesn't generate the BEGIN_SQL statement. Strange!
Thanks,
Peter
Problem is solved without BEGIN_SQL!
You have to change in file sqlsrv.prm in BusinessObjects\...\DataAccess\odbc folder the dateformat interpreted by BO from mm/dd/yyyy to dd/MM/yyyy!
After this change you have to restart the WebIProcessingServer in CMC!
Then WebI shows in generated SQL script the dateformat dd/MM/yyyy
Edited by: Peter Senf on Sep 28, 2011 3:33 PM
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.