[loadOriginal]
select fnc_load_basv1064(:s_id, ':kojin_no')

[updateOriginal]
select fnc_update_basv1064(:s_id)

[doDelete]
select fnc_delete_basv1064(':kojin_no', ':login_id')

[deleteOriginal]



[get_new_cd]
select coalesce(max(cast(kojin_no as int)),0) + 1 as newcd
from m_kojin

[existKey]
select 1
from m_kojin
where kojin_no = ':kojin_no'


