source: branches/comu-utf8/html/install/batch/move_mailmaga_data.php @ 15099

Revision 15099, 447 bytes checked in by Yammy, 17 years ago (diff)

UTF-8変換済みファイルインポート
1.3.4ベース

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.