source: branches/feature-module-update/html/install/batch/move_mailmaga_data.php @ 15079

Revision 15079, 447 bytes checked in by nanasess, 17 years ago (diff)

svn:mime-type application/x-httpd-php; charset=UTF-8 設定

  • Property svn:mime-type set to application/x-httpd-php; charset=UTF-8
Line 
1<?php
2/*
3 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
4 *
5 * http://www.lockon.co.jp/
6 *
7 */
8require_once("../../require.php");
9
10$objQuery = new SC_Query();
11
12$objQuery->begin();
13$arrCustomerMail = $objQuery->getAll("
14UPDATE dtb_customer
15SET mailmaga_flg = (
16SELECT mail_flag
17FROM dtb_customer_mail
18WHERE dtb_customer.email = dtb_customer_mail.email
19)");
20$objQuery->commit();
21
22echo "正常に移行が完了致しました。";
23
24?>
Note: See TracBrowser for help on using the repository browser.