摘要:
1.查询数据库中的所有数据库名: SELECT Name FROM Master..SysDatabases ORDER BY Name2.查询某个数据库中所有的表名: SELECT Name FROM SysObjects Where XType='U' ORDER BY Name3.查询表结构信... 阅读全文
摘要:
--启用or禁用指定表所有外键约束 alter table tbname NOCHECK constraint all alter table tbname CHECK constraint all--查看约束select name , is_disabled from sys.foreign... 阅读全文
摘要:
<script> function getInfo() { var s = ""; s += " 网页可见区域宽:"+ document.body.clientWidth; s += " 网页可见区域高:"+ document.body.clientHeight; s += " 网页可见区域宽:"+ document.body.offsetWidth + " (包括边线和滚动条的宽)"; s += " 网页可见区域高:"+ document.body.offset 阅读全文