postgresql 初始化構造字段

insert into hr.hr_employee (name,id,employee_number) --新增數據對象表 --構造表 select  a.name, a.union_id as "id",  b.code || lpad(cast((ROW_NUMBER() over(partition by b.code )) as varchar(4)),4,'0') as "employ
相關文章
相關標籤/搜索