Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
java domainq
5
Views
3
Comments
How to identify if a table is Multi-tenant or not by using PhysicalTableName
Question
Database
Multitenant
Hi ,
I have a
PhysicalTableName available . How Can I know whether the entity is multitenant or not.
This logic is part of the action.
Please advice.
Regards
jdq
Paulo Ramos
Staff
You can't from its physical table name. But the table will have a Tenant_Id column (and it's possibly in the metadata as well). Why do you need this?
Justin James
MVP
You could go to ossys_Entity, look up the record physical table name and then see if it is marked as multi-tenant...
J.Ja
Rajendra Singh
Hi
Java Domainq
, you can check the MULTITENANT attribute the the ossys_entity table like "Select MULTITENANT from ossys_entity where PHYSICAL_TABLE_NAME=@physicaltablename" .
Thanks
Rajendra
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...