摘要: --MyDB为修复的数据名USE MASTER GO SP_CONFIGURE 'ALLOW UPDATES',1 RECONFIGURE WITH OVERRIDE GO ALTER DATABASE MyDB SET EMERGENCY GO sp_dboption 'MyDB', 'single user', 'true' GO DBCC CHECKDB('MyDB','REPAIR_ALL... 阅读全文
posted @ 2007-07-09 20:15 sonicit 阅读(23044) 评论(23) 推荐(2) 编辑
摘要: The specified '@subsystem' is invalid (valid values are returned by sp_enum_sqlagent_subsystems). (.Net SqlClient Data Provider)Error Number: 14234Severity: 16State: 1Procedure: sp_verify_subsystemLin... 阅读全文
posted @ 2007-07-09 20:15 sonicit 阅读(1000) 评论(2) 推荐(0) 编辑
摘要: DECLARE @sp_name nvarchar(400)DECLARE @sp_content nvarchar(2000)DECLARE @asbegin intdeclare @now datetimeselect @now = getdate()DECLARE sp_cursor CURSOR FOR SELECT object_name(id)FROM sysobjectsWHERE ... 阅读全文
posted @ 2007-07-09 20:13 sonicit 阅读(373) 评论(0) 推荐(0) 编辑
摘要: Function IsEMail(EMail: String): Boolean;var s: String; ETpos: Integer;begin ETpos:= pos('@', EMail); //获取@符号的位置 if ETpos > 1 then begin s:= copy(EMail,ETpos+1,Length(EMail)); ... 阅读全文
posted @ 2007-07-09 20:11 sonicit 阅读(888) 评论(0) 推荐(0) 编辑
摘要: 事实上,解决这个问题的思路很简单。那就是要找出汉字表中拼音首字母分别为“A”到“Z”的汉字内码范围,这样对于要检索的汉字,只需要检查它的内码位于哪一个首字母的范围内,就可以判断出它的拼音首字母。下面完成一个示范程序,选择“File|New Application”菜单命令,在默认的窗体中添加1个Label组件、1个Bevel组件、1个Edit组件和2个ListBox组件。完成对各个组件的属性设置及... 阅读全文
posted @ 2007-07-09 20:10 sonicit 阅读(1336) 评论(2) 推荐(0) 编辑