adding code to be refactored into procs
replacing rand() with random to avoid rand() issues
moving 2 procs from accounts-finance pretti app to here
coding..
coding utility procs for extracting data from simple tables
adding input sanity checks etc
adding smart name to tid search for automated systems
fix bug where column ref is interpreted as octal number
clarifying api documentation
insert last_modified,created,flags at appropriate places
insert flags update
use server time instead of db time in case db is hosted separately.
fix bug that prevented empty cells from being filled in table_lists.
pre-calc column_max to handle all cases.
fix proc reference db_read s/b db_string
fix sql for missed cases.
removed diagnostic log entries.
trashed returns 0 instead of blank to simplify calling code.
fixed trash permissions to be consistent with intended least restictive use.
add place for extras, incl. split proc