Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Understanding a database schema

This should be a really simple question for any Oracle DBAs out there.

I just started on a new application and I asked to see the schema. I am not familiar with Oracle or its naming conventions at all. So I submit to you the following:

enter image description here

I'd like to know:

  • Why the separation from the top 2 fields and the rest? (I assume those are PK but it doesnt explicitly state as much)
  • What's the difference from the bolded fields and non-bolded?
  • What does 'l3', 'l5', etc indicate?
  • A couple other tables (not pictured) have 'U1' indicators where this pic has 'l3', what does that mean?
like image 576
Mike Fielden Avatar asked Dec 31 '25 17:12

Mike Fielden


1 Answers

To answer you questions:

  1. The top two fields indicate the primary keys for the table
  2. Bolded fields are required ( NON-NULL ) fields
  3. "I" indicates that the columns are indexed
  4. "U" indicates that the columns have a unique key associated with them

Hope this helps.

like image 104
Thomas Erdman Avatar answered Jan 02 '26 10:01

Thomas Erdman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!