function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Book_GuyBook_Guy 

Using Salesforce As a Relational Database

Is it prudent to create an object in Salesforce the same way you would create a table for a relational database. See example below. The reason for doing this is so these tables can be controlled by Salesforce users rather than in an inaccessable SQL table, but once the table is setup, no users will have to modify them.

 

 

Grade (table/object) 
GradeIDGradeDesc 
AGreat 
BGood 
CFair 
DBelow Average
EPoor 
   
   
   
ContestGrade (table/object) 
ContestIDGradeIDPointValue
C101A20
C101B10
C101C5
C101D3
C101E0
C102A100
C102B80
C102C50
C102D20
C102E10
C103A5
C103B4
C103C3
C103D2
C103E1

 

 

 

 

 

 


SseversonSseverson
This makes sense to me, coming to SalesForce.com from a FileMaker background.  What are the possible negative ramifications you're considering?
Book_GuyBook_Guy

I am concerned with creating clutter in Salesforce, when tables like this can be managed in our SQL database.  The positive

is the data will be available so we can change it directly.

slaneslane

One significant ramification is that this table will count against your maximum number of custom objects. Depending on your SFDC edition, this may be a big deal, or less so.

 

From a database perspective, it's certainly the "right" thing to do if you need this data in your SFDC app. If you're worried about clutter you can control this using the tab mechanism, so that users who don't need to modify these lookup tables won't have them constantly in their faces.