--1、查看密码过期设置、如果密码过期,则将密码设置为永久
Select * from DBA_PROFILES Where PROFILE='DEFAULT' and RESOURCE_NAME='PASSWORD_LIFE_TIME';
Alter Profile Default Limit Password_Life_Time Unlimited;
--2、将用户ADM_ERP的密码修改为ADM_ERP
Alter User ADM_ERP Identified By ADM_ERP;
--3、将被锁定的用户进行解锁操作
Alter User ADM_ERP Identified By Oracle Account Unlock;
--4、查询出表的所有字段名称、并用逗号“,”隔开
select * from user_tab_columns where table_name='VW_DAYRPT_STDTSK_R'
select wmsys.wm_concat(column_name) from user_tab_columns where table_name='VW_DAYRPT_STDTSK_R'
--执行结果:WORKORDKEY,WORKORDCODE,PARTKEY,PARTMCODE,PARTNAME,DPTKEY
oracle学习记录
最新推荐文章于 2023-11-30 19:22:23 发布