30
Views
2
Comments
Solved
[SQL Sandbox] Invalid object name &39;OSUSR_WGMYEntity'
sql-sandbox
Web icon
Forge asset by Leonardo Fernandes
Application Type
Traditional Web

Hi there, 

I try to use this sandbox. It works if i select the entity {User}, but i got this error 

when select to entity "MYEntity " i created:

Invalid object name &39;OSUSR_WGMYEntity'


regards


2025-01-09 14-56-57
IQ78
Solution

Hi, 

I found the answer myself:

In a premise server, now, when i create a module, there is a screen to choose DB catatog.

and i use this syntax and it works, where xxxDB is the DB catalog we choose when creating the module; for the {User} it works because when i select from the SQL advance using: SELECT DB_NAME(), it results Outsystems and i think it is the DB for the {User} as a default DB:

use xxxDB

select *

from {AuditTrail}

see also:

https://www.outsystems.com/forums/discussion/97640/how-to-get-database-name-of-an-entity/

regards

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.