SELECT USER_TAB_COLUMNS.COLUMN_NAME, USER_COL_COMMENTS.COMMENTS, CASE WHEN INSTR(USER_TAB_COLUMNS.DATA_TYPE, 'DATE') <> 0 THEN '3' WHEN INSTR(USER_TAB_COLUMNS.DATA_TYPE, 'NUM') <> 0 THEN '2' ELSE '1' END DATATYPE, CASE WHEN INSTR(DATA_TYPE, 'D…
命令行操作:打开服务: services.msc启动Oracle: net start OracleOraHome92TNSListener net start OracleService实例名停止Oracle: net stop OracleOraHome92TNSListener net stop OracleService实例名打开Enterprise Manager Console: oemapp.bat console即会出现enterprise mana…
//读取数据库中所有的数据库 USE MASTER DECLARE @is_policy_automation_enabled bit SET @is_policy_automation_enabled = (SELECT CONVERT(bit, current_value) FROM msdb.dbo.syspolicy_configuration WHERE name = 'Enabled') SELECT dtb.name AS [Database_Name], 'Server[@Nam…