摘要:
SELECT file_id, name FROM sys.database_files; ALTER DATABASE TheDBNameSET RECOVERY SIMPLE;GO-- Shrink the truncated log file to 1 MB.DBCC SHRINKFILE (... 阅读全文
摘要:
-- 允许配置高级选项 EXEC sp_configure 'show advanced options', 1 GO -- 重新配置 RECONFIGURE GO -- 启用xp_cmdshell EXEC sp_configure 'xp_cmdshell... 阅读全文
摘要:
以下例句中的文件名都暂用test.dat,定义test.dat的编码格式为UTF-8无BOM。1、编码转换:a、 普通的编码转换:将test.dat文件转换为GB2312格式的,并且存储到test_new.dat文件中iconv -c -f UTF-8 -t GB2312 test.dat >tes... 阅读全文