Difference between a base class and base table

snowlearner
Kilo Expert

What is the difference between a base class and base table?

5 REPLIES 5

Mark Stanger
Giga Sage

No difference.   The intro in this article should help a bit.



Tables and Classes - ServiceNow Wiki


I saw that article, but I have seen people saying that we have two base tables in the snow which are - task and cmdb_ci.


Now I have started learning cmdb, and so I was just wondering about the definition for the base class ( the class itself is not extended, but can be extended). I navigated to the suggested relationships and there I saw the mapping between the base classes and the depedent classes. I just wanted to know why are we calling the "Application" class a base table as it alrady extends the cmdb_ci table.


This is quite confusing to me


I'm not sure where the Application table is referred to as a base table, because it isn't.   The base table is 'cmdb_ci' (which is also the base class).   They are one and the same.



The application table extends the base table (cmdb_ci), therefore it cannot be the base table.   However, the application table (like other tables) can be extended from even though it extends something else.



'task' and 'cmdb_ci' are both base tables (and base classes).


Okay Mark, thanks for the explanation.


One more question, as per the definition of a base class - can I call my custom table(u_axis) a base class/table (as it doesn't extend any table but some of the other custom tables are extending the u_axis.)