MYSQL 正規表式示

回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

MYSQL 正規表式示

文章 yehlu »

select sum(invoice_tax+invoice_net) from stick_data where date >= '2005-01-01' and date <= '2005-12-31' and memo <> '作廢' and stick_id regexp '[A-Z][A-Z][0-9]{8}';
回覆文章

回到「MySQL」