摘要:
LGA(land grid array) :译为触点阵列封装,为Intel公司的CPU封装形式,LGA后面的数字代表触电数量。第一代酷睿i系列主流级CPU采用LGA1156封装,命名格式为三位数, Core i5-650,可以搭配P55,H57,H55主板使用。第一代酷睿i系列发烧级CPU采用LGA1366封装,命名格式为三位数 后面多跟X,如Core i7-980X,可以搭配X58主板使用。第二代酷睿i系列主流级CPU采用LGA1155封装,命名格式为四位数 如Core i5-2300,可以搭配Z68,P67,H61,H67主板使用。第二代酷睿i系列发烧级CPU采用L... 阅读全文
随笔档案-2012年03月
在HTML文件中几个特殊字符的编码
2012-03-15 10:45 by java20130722, 165 阅读, 收藏,
摘要:
< & &
" "
' ' 阅读全文
访问chm文件出现 已取消到该网页的导航的解决方法
2012-03-14 10:21 by java20130722, 207 阅读, 收藏,
摘要:
转自:http://www.jb51.net/softjc/11699.html最常见的问题可以用下面的方法解决:一:在chm右键 看看有没有解除锁定选项 。。应该是被锁二:是因为文件所处的路径名中含有#这样的字符的缘故。因为上次WINDOWS XP2做了UPDATE之后就无法打开chm的帮助文件了....想来想去也无法解决..今天上来问..CALLCALL朋友给我提供方法也是无法解决..之后我去了官方查找原因..终于找出问题了!!现在把他分享出来,希望有碰到跟我一样的情况下的朋友可以有所帮助!!症状安装安全更新 896358 或 890175 后,可能会遇到下列一个或多个症状: • 某些类型 阅读全文
Inserted表和Deleted表
2012-03-14 08:29 by java20130722, 314 阅读, 收藏,
摘要:
这里介绍两个特殊的表,Inserted表和Deleted表。此二表仅仅触发器运行时存在。一旦某一个触发器结束执行时,相应的在两个表内的数据都会丢失。你可以使用该两个表来精确地确定触发触发器的动作对数据表所做的修改。比如,通过检查Deleted表,你可以确定那些记录由某一动作删除。Inserted 表用于存储 INSERT 和 UPDATE 语句所影响的行的副本。在一个插入或更新事务处理中,新建行被同时添加到 inserted 表和触发器表中。Inserted 表中的行是触发器表中新行的副本。Deleted 表用于存储 DELETE 和 UPDATE 语句所影响的行的复本。在执行 DELETE或 阅读全文
T-SQL语句集锦
2012-03-12 17:53 by java20130722, 212 阅读, 收藏,
摘要:
use master
go --创建数据库
create database kczxDB --数据库名
on primary
( name = 'kczxDB', -- --主数据文件的逻辑名 filename = 'H:\zhui\kczx\kczxDB.mdf', --数据库文件的物理地址和文件名 size = 5mb, --数据库文件初始大小 maxsize = 100mb, --数据库文件的最大值 filegrowth = 15% --数据库文件的增加率
)
log on
( name = 'kczxlog', --数据库日志的逻辑名 f 阅读全文
T-SQL语句之Select(一)
2012-03-11 09:07 by java20130722, 343 阅读, 收藏,
摘要:
OperatorDescription!=Tests two expressions not being equal to each other.!>Tests that the left condition is not greater than the expression to the right.!Tests two expressions not being equal to each other.=Tests equality between two expressions.>Tests the left condition being greater than the 阅读全文
AdventureWorks、Northwind、pubs示例数据库下载
2012-03-10 20:08 by java20130722, 172 阅读, 收藏,
摘要:
用百度在网上找了好久都没有找到,后来谷歌一搜就找到正解了,阿弥陀佛……转自:http://www.cnblogs.com/stu-acer/archive/2009/03/25/1421889.html找得三个数据库下载地址如下,SQL Server 2005 / 2008 AdventureWorks 范例数据库下载:http://www.codeplex.com/SqlServerSamplesNorthwind 和 pubs 示例数据库下载地址:http://go.microsoft.com/fwlink/?LinkId=30196 阅读全文
SqlDataAdapter和SqlCommandBuilder删除数据
2012-03-07 11:47 by java20130722, 310 阅读, 收藏,
摘要:
using System;
using System.Data;
using System.Data.SqlClient; //SqlDataAdapter网站:http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldataadapter.aspx
//SqlCommandBuilder网站:http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommandbuilder.aspx namespace Chapter13
{ cl... 阅读全文
SqlDataAdapter和SqlCommandBuilder添加数据
2012-03-07 11:43 by java20130722, 302 阅读, 收藏,
摘要:
using System; using System.Data; using System.Data.SqlClient; //SqlDataAdapter网站:http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldataadapter.aspx //SqlCommandBuilder网站:http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommandbuilder.aspx namespace Chapter... 阅读全文
DataView使用
2012-03-07 09:38 by java20130722, 469 阅读, 收藏,
摘要:
using System;
using System.Data;
using System.Data.SqlClient; //DataView的MSDN参考网站:http://msdn.microsoft.com/en-us/library/8sd1cd0a.aspx
namespace Chapter13
{ class DataViews { static void Main(string[] args) { // connection string string connString = ... 阅读全文
SqlDataAdapter、DataSet、DataTable使用
2012-03-07 09:06 by java20130722, 417 阅读, 收藏,
摘要:
using System.Data; using System.Data.SqlClient; //SqlDataAdapter的MSDN网站:http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldataadapter.aspx //DataTable的MSDN网站:http://msdn.microsoft.com/en-us/library/system.data.datatable.aspx //DataSet的MSDN网站: http://msdn.microsoft.com/e... 阅读全文
SqlDataReader控制多个数据集
2012-03-06 22:33 by java20130722, 167 阅读, 收藏,
摘要:
using System;
using System.Data;
using System.Data.SqlClient; namespace Chapter12
{ class MultipleResults { static void Main(string[] args) { // connection string string connString = @" server = .; ... 阅读全文
DataTable使用
2012-03-06 22:25 by java20130722, 442 阅读, 收藏,
摘要:
using System;
using System.Data;
using System.Data.SqlClient; namespace Chapter12
{ class SchemaTable { static void Main(string[] args) { // connection string string connString = @" server = .; i... 阅读全文
SqlDataReader使用
2012-03-06 21:37 by java20130722, 212 阅读, 收藏,
摘要:
using System.Data.SqlClient; namespace TestDB
{ class Program { static void Main(string[] args) { string strConn = @" server = (local); integrated security = true; database = Northwind "; ... 阅读全文
执行带参数的sql语句
2012-03-06 12:57 by java20130722, 1452 阅读, 收藏,
摘要:
using System;
using System.Data;
using System.Data.SqlClient; namespace CommandParameters
{ class CommandParameters { static void Main() { // set up rudimentary data string fname = "Zachariah"; string lname = "Zinn"; SqlConnec... 阅读全文
调用存储过程
2012-03-06 10:07 by java20130722, 146 阅读, 收藏,
摘要:
using System;
using System.Data;
using System.Data.SqlClient; /* create procedure sp_Select_All_Employees as select employeeid, firstname, lastname from employees
*/
namespace Chapter6
{ class CallSp1 { static void Main() { SqlConnecti... 阅读全文
数据库连接 执行 select 语句
2012-03-06 09:40 by java20130722, 249 阅读, 收藏,
摘要:
using System;
using System.Data.SqlClient; namespace ConnectDB
{ class Program { static void Main(string[] args) { //指定数据库连接的SqlConnection.ConnectionString性质 //SqlConnection.ConnectionString详细详细参考 //MSDN网站:http://msdn.microsoft.com/en-us/l... 阅读全文