Just Another Beginning
SQL與法中直接擷取字串的函式使用 substring(原字串, 啟始取值位置, 欲取的字元數)
這裡與DELPHI的Copy用法一摸摸一樣樣~
範例:取g.declno前兩字元
cntc.cntcid = substring(g.declno,1,2)
You must be logged in to post a comment.
Copyright © 2024 No Money No Honey - All Rights ReservedPowered by WordPress & the Atahualpa Theme by BytesForAll. Discuss on our WP Forum
近期留言