podoc:number_of_scanner_references_sql_function
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
podoc:number_of_scanner_references_sql_function [2007/04/13 07:20] – Luud | podoc:number_of_scanner_references_sql_function [2007/04/23 14:31] (current) – Luud | ||
---|---|---|---|
Line 6: | Line 6: | ||
=== Description === | === Description === | ||
+ | |||
+ | Counts the number of references to a particular scanner. | ||
+ | |||
+ | Tentative (is this correct?): this represents the number of photos in the database captured using the specified scanner. | ||
=== Purpose === | === Purpose === | ||
+ | |||
+ | To retrieve the number of references to a particular scanner. | ||
=== Schema === | === Schema === | ||
- | | + | <code sql> |
- | as ' | + | create function number_of_scanner_references(integer) returns bigint |
- | from photo_tech, scanner | + | as ' |
- | | + | from photo_tech, scanner |
- | | + | |
+ | | ||
+ | </ | ||
=== Related tables === | === Related tables === | ||
- | === Related indexes === | + | * [[photo_tech sql table|photo_tech]] |
- | + | * [[scanner sql table|scanner]] | |
- | === Related functions === | + | |
- | + | ||
- | === Related views === | + | |
=== History === | === History === | ||
Line 39: | Line 44: | ||
= Version 2.5 = | = Version 2.5 = | ||
- | | + | <code sql> |
- | as ' | + | create function number_of_scanner_references(integer) returns bigint |
- | from photo_tech, scanner | + | as ' |
- | | + | from photo_tech, scanner |
- | | + | |
+ | | ||
+ | </ | ||
podoc/number_of_scanner_references_sql_function.1176448821.txt.gz · Last modified: 2007/04/13 07:20 by Luud