Forum Discussion

Ashok's avatar
Ashok
New Contributor III
2 years ago

Error while trying to create a view using DB Extender BR - "Create View must be first statement"

Hi All,

I am trying to create a simple view using SQL in BR. it works if do it directly in SQL server so no issue with the syntax. When i am trying to do the same using a BR it gives this error: 

anyone seens this and know the reason and how to resolve it?

 

Code:

 

 

  • RobbSalzmann's avatar
    RobbSalzmann
    Valued Contributor II

    Use:
    BRApi.Database.ExecuteActionQuery(dbConnApp2, dml.ToString(), True, True)