摘要:
*查看sql server中所有数据库的名称 SELECT name FROM SysDatabases ORDER BY Name; *查询指定数据库中所有的表名 SELECT Name FROM '库名'..SysObjects Where XType='U' ORDER BY Name; *查 阅读全文
摘要:
*获取当前时间 可以使用datatime和time模块,如下两种情况结果是一样的 now = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S") now2 = time.strftime("%Y-%m-%d %H:%M:%S", time.lo 阅读全文