摘要:运行pgAdmin出现”pgAdmin 4 the application server could not be contant“ 窗口。 参考:https://stackoverflow.com/questions/40083391/postgresql-cant-connect-applica
阅读全文
摘要:--step 1 : 修改数据库名称 USE master GO ALTER DATABASE GeovinDuCms SET SINGLE_USER WITH ROLLBACK IMMEDIATE GO EXEC master..sp_renamedb 'GeovinDuCms','DuCms' GO ALTER DATABASE DB_SHANGHAI SET MULTI_USER GO ...
阅读全文
摘要:---涂聚文 2017-9-28 SELECT VipExamMailProjectId,VipExamMailStaffID FROM VipExamMailRecord WHERE VipExamMailProjectId = 1 GROUP BY VipExamMailStaffID,VipExamMailProjectId HAVING COUNT(1)>1 ORDER ...
阅读全文
摘要:---查看所有存储过程或视图的位置 select a.name,a.[type],b.[definition] from sys.all_objects a,sys.sql_modules b where a.is_ms_shipped=0 and a.object_id = b.object_id and a.[type] in ('P','V','AF') order by a.[nam...
阅读全文
摘要:-- Oracle 11 G --20160921 涂聚文再次修改 --Geovin Du --GetTables SELECT owner, object_name, created FROM all_objects WHERE (owner in ( select USERNAME from user_users )) AND object_type = 'TABLE' ORDER BY...
阅读全文