摘要:
function doNumber(x){ var f = Math.round(x*100)/100; var s = f.toString(); var rs = s.indexOf('.'); if (rs < 0) { rs = s.length; s += '.'; } ... 阅读全文
摘要:
查询是否有外键: select object_name(a.parent_object_id) 'tables' from sys.foreign_keys a where a.referenced_object_id=object_id('[表名]') 更改主键类型: ---删除原主键 Alter table base_log Drop PK__BASE_LOG__4364C88276... 阅读全文