修改訂單開始序號

2021-04-20 16:22:01 字數 479 閱讀 6990

assuming your database prefix is isc_, then you would run the following sql using phpmyadmin

alter table tbl auto_increment = 100;

which would start any future order numbers at 100;

changestart.php 內容:

<?php

$start = 2000;

require(dirname(__file__)."/init.php");

$globals['isc_class_db']->query("alter table [|prefix|]orders auto_increment = ".$start);

echo "done";

?>

修改訂單號資料型別4 複製訂閱的主鍵限制 修改後

select db,sch,tbl,col,編寫刪除語句 use publisher db exec sp dropsubscription publication n publication article n article subscriber n all destination db n a...