# What’s in a name?

- ## The letter case used for attribute names is significant

  - plays an important part in the portability of DBI scripts

- ## Used to signify who defined the meaning of that name and its values

  Case of name Has a meaning defined by
  UPPER_CASE Formal standards, e.g., X/Open, SQL92 etc (portable)
  MixedCase DBI API (portable), underscores are not used.
  lower_case Driver specific, ‘private’ attributes (non-portable)

##

- ## Each driver has its own prefix for its private method and handle attributes

  - Ensures two drivers can’t define different meanings for the same attribute
  $sth->bind_param( 1, $value, { ora_type => 97, ix_type => 42 } );

Previous slide | Next slide | Back to first slide | View graphic version