MATLAB DATABASE TOOLBOX RELEASE NOTES User's Guide Page 436

  • Download
  • Add to my manuals
  • Print
  • Page
    / 684
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 435
7 Functions — Alphabetical List
7-6
bestrowid
Unique identifier for row in database table
Syntax
b = bestrowid(dbmeta,'cata','sch')
b = bestrowid(dbmeta,'cata','sch','tab')
Description
b = bestrowid(dbmeta,'cata','sch') returns the optimal set of columns in a table
that uniquely identifies a row in the schema sch, in the catalog cata, for the database
whose database metadata object is dbmeta.
b = bestrowid(dbmeta,'cata','sch','tab') returns the optimal set of columns
that uniquely identifies a row in table tab, in the schema sch, in the catalog cata, for
the database whose database metadata object is dbmeta.
Examples
Run bestrowid, passing it the following arguments:
dbmeta, the database metadata object
msdb, the catalog
geck, the schema
builds, the table
b = bestrowid(dbmeta, 'msdb', 'geck', 'builds')
b =
'build_id'
The result indicates that each entry in the build_id column is unique and identifies the
row.
Page view 435
1 2 ... 431 432 433 434 435 436 437 438 439 440 441 ... 683 684

Comments to this Manuals

No comments