VbzCart/docs/procs/Upd TitleIttyps fr Titles: Difference between revisions
Jump to navigation
Jump to search
imported>Woozle (New page: ==About== * '''Input''': {{vbzcart|table|_titles}} * '''Output''': {{vbzcart|table|_title_ittyps}} (update) ==SQL== <section begin=sql /><mysql>CREATE PROCEDURE Upd_TitleIttyps_fr_Titles()...) |
m (Woozle moved page VbzCart/VbzCart/procs/Upd TitleIttyps fr Titles to VbzCart/docs/procs/Upd TitleIttyps fr Titles without leaving a redirect: part 2) |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
* '''Input''': {{vbzcart|table|_titles}} | * '''Input''': {{vbzcart|table|_titles}} | ||
* '''Output''': {{vbzcart|table|_title_ittyps}} (update) | * '''Output''': {{vbzcart|table|_title_ittyps}} (update) | ||
* '''History''': | |||
** '''2010-11-10''' | |||
*** Added DROP PROCEDURE for easier maintenance. | |||
*** Created in database (procs did not get ported from L48 to Rizzo). | |||
==SQL== | ==SQL== | ||
<section begin=sql /><mysql>CREATE PROCEDURE Upd_TitleIttyps_fr_Titles() | <section begin=sql /><mysql>DROP PROCEDURE IF EXISTS Upd_TitleIttyps_fr_Titles; | ||
CREATE PROCEDURE Upd_TitleIttyps_fr_Titles() | |||
UPDATE _title_ittyps AS ti LEFT JOIN _titles AS t ON t.ID=ti.ID_Title | UPDATE _title_ittyps AS ti LEFT JOIN _titles AS t ON t.ID=ti.ID_Title | ||
SET | SET |
Latest revision as of 01:55, 25 February 2024
About
- Input: Template:Vbzcart
- Output: Template:Vbzcart (update)
- History:
- 2010-11-10
- Added DROP PROCEDURE for easier maintenance.
- Created in database (procs did not get ported from L48 to Rizzo).
- 2010-11-10
SQL
<section begin=sql /><mysql>DROP PROCEDURE IF EXISTS Upd_TitleIttyps_fr_Titles; CREATE PROCEDURE Upd_TitleIttyps_fr_Titles()
UPDATE _title_ittyps AS ti LEFT JOIN _titles AS t ON t.ID=ti.ID_Title SET ti.CatNum = t.CatNum, ti.CatWeb = t.CatWeb;</mysql>
<section end=sql />