613-518-1166 info@zimdatabases.com

Zim 9 Connectivity

SQL Table “Owners”

< All Topics

Most SQL servers support the concept that each table is “owned” by a “user” or a “creator”. This enables multiple tables with the same name, but different owners, to be created. These servers also enable users to access tables owned by other users.

When a user has some private information stored in database space owned by him, he is the creator or owner of these tables. If, for the purposes of achieving data manipulation objectives, he needs to access tables “owned” by some other user, he does this by qualifying the name of the table(s) to be accessed with the name of the owner. To access a table called “CUSTOMERS” created by a user named “BOB”, the correct SQL syntax for the table reference would be


Zim supports this capability by providing the ability to specify a “Remote Owner” of an EntitySet or data relationship in the data dictionary field ” RemoteOwnerName“. Any EntitySet or data relationship whose Remote Owner is blank or null is assumed to be owned by the user. The EntitySet name is not qualified in any generated SQL syntax. A reference to an EntitySet or data relationship whose Remote Owner is not blank or null causes the name to be qualified with the RemoteOwnerName in the generated SQL syntax. Thus to generate the syntax such as


the EntitySet “CUSTOMERS” must have its RemoteOwnerName set to “BOB”.

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents