MSSQL 常用
--查看error日志
use [master]
Exec sp_readerrorlog 0,1,'Recovery of database'
--查看error日志
use [master]
Exec sp_readerrorlog 0,1,'Recovery of database'
catch(Exception::CLRError)
{
System.Exception interopException = CLRInterop::getLastException();
obj.Add("Code", 1);
obj.Add("Message", interopException.Message.ToString());
}
catch
{
SysInfoLogEnumerator infoLogEnum;
str Message;
infoLogEnum = SysInfoLogEnumerator::newData(infolog.copy(1, infologLine()));
while(infoLogEnum.moveNext())
{
Message += infoLogEnum.currentMessage();
}
obj.Add("Code", 1);
obj.Add("Message", Message);
}
5c2028f6-2f6f-416c-8b00-dac13319dea1
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
reg add "HKCU\Software\Classes\CLSID{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
taskkill /F /IM explorer.exe
explorer.exe