Skip to Content
author's profile photo Former Member
Former Member

BEGIN_SQL Statement for MS SQL Server

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!

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2011 at 12:18 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.