强行关机,导致用户配置文件损坏,sqlserver2000启动失败,出现错误:由于登录失败而无法启动服务(SQLServer1069错误):解决方法:我的电脑--控制面板--管理工具--服务--右键MSSQLSERVER--属性--登陆--登陆身份--选择"本地系统帐户".或者选择"此帐户"--密码和确认密码中输入你修改后的administrator密码.由于登录失败而无法启动服务
系统 2019-08-12 09:27:11 2732
1.创建数据库createdatabaseschool;2.使用数据库Useschool;3.创建用户createuserjame@localhostidentifiedby'jame';4.授权用户(注意这里是用了*哦,自己将school也替换成*号)grantselect,update,insert,createonschool.*tojame@localhostidentifiedby'jame';5.取消授权(现在明白为啥直接敲privilege没
系统 2019-08-12 01:55:23 2732
今天测试部门的人叫我过去,说是数据库当了,起不来了。我过去看了看情况,做了如下操作SQL>shutdownimmediate数据库已经关闭。已经卸载数据库。Oracle例程已经关闭。SQL>startupORACLE例程已经启动。TotalSystemGlobalArea135338868bytesFixedSize4534Array2bytesVariableSize10Array051Array04bytesDatabaseBuffers2516582
系统 2019-08-12 01:54:30 2732
http://www.geeksforgeeks.org/write-a-function-to-get-the-intersection-point-of-two-linked-lists/第一第二个方法比较简单,下面这段代码是第三个方法1#include2#include3#include4#include5#include6#include7#inc
系统 2019-08-12 01:53:45 2732
oracle中的常用字符串函数如下:concat(string1,string2)instr(string1,string2)lpad(string1,x[,string2])ltrim(string1,[string2])nls_initcap(string[,nlsparams])nlslower(string[,nlparams])nls_upper(string[,nlsparams])nlssort(string[,nlsparas])repla
系统 2019-08-12 01:53:08 2732
看了些资料,对应只需要知道怎么查询和使用mongodb的我来说,这些足够啦。左边是mongodb查询语句,右边是sql语句。对照着用,挺方便。db.users.find()select*fromusersdb.users.find({"age":27})select*fromuserswhereage=27db.users.find({"username":"joe","age":27})select*fromuserswhere"username"="j
系统 2019-08-12 01:53:00 2732
准备一些测试数据,如下:useTestCreatetableStudent(IDintidentity(1,1)primarykey,[Name]nvarchar(50)notnull)CreateTableBook(IDintidentity(1,1)primarykey,[Name]nvarchar(50)notnull,StudentIDintnotnull)insertintoStudentvalues('张三')insertintoStudent
系统 2019-08-12 01:52:38 2732
一.如:'6.7.8.2.3.4.x'得到最后一个'.'后面的字符串:declare@str1varchar(50)set@str1='6.7.8.2.3.4.x'selectREVERSE(SUBSTRING(REVERSE(@str1),1,CHARINDEX('.',REVERSE(@str1))-1))--------string:'x'--------------------------------------------------------
系统 2019-08-12 01:33:49 2732
关闭445端口关闭445端口的方法有很多,但是我比较推荐以下这种方法:修改注册表,添加一个键值Hive:HKEY_LOCAL_MACHINEKey:System\CurrentControlSet\Services\NetBT\ParametersName:SMBDeviceEnabledType:REG_DWORDValue:0修改完后重启机器,运行“netstat-an”,你将会发现你的445端口已经不再Listening了。关闭139开始-设置-网络
系统 2019-08-12 01:33:42 2732
今天在相同环境测试2000和2008性能让我意外的是2008明显比2000慢很多测试sql:SETSTATISTICSIOONSETSTATISTICSTIMEONSELECTCOUNT(1)FROMdbo.tbtextaINNERLOOPJOINdbo.tbtextbONa.id=b.idoption(maxdop1)SETSTATISTICSIOOffSETSTATISTICSTIMEOff表结构:CREATETABLE[dbo].[tbtext]([
系统 2019-08-12 01:33:35 2732