摘要:
泛型约束基本上有五种: 值类型约束:要求泛型参数必须是值类型,例如int,short以及自定义的stuct等 public class MyClass2<T> where T : struct//这个泛型类只接受值类型的泛型参数 { } 引用类型约束:要求泛型参数必须是引用类型,例如string,o 阅读全文
摘要:
直接上菜: select username,lockwait,status,machine,program from v$session where sid in(select session_id from v$locked_object) select sql_text from v$sql w 阅读全文