博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  SQL Server

摘要:第一范式存在非主属性对码的部分依赖关系 R(A,B,C) AB是码 C是非主属性 B-->C B决定C C部分依赖于B第一范式定义:如果关系R 中所有属性的值域都是单纯域,那么关系模式R是第一范式的那么符合第一模式的特点就有1)有主关键字2)主键不能为空,3)主键不能重复,4)字段不可以再分例如:StudyNo | Name | Sex | Contact20040901 john Male Email:kkkk@ee.net,phone:22245620040901 mary famale email:kkk@fff.net phone:123455以上的表就不符合,第一范式:主键重复 阅读全文

posted @ 2012-05-09 16:30 GISerYang 阅读(55001) 评论(3) 推荐(12) 编辑

摘要:我们在在使用SQL Server时都会遇到使用SQL Server Management Studio无法连接远程数据库实例的问题,错误描述信息摘录如下:An error has occurred while establishing a connection to the server.(provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 5)An error has occurred while establi 阅读全文

posted @ 2012-02-06 21:38 GISerYang 阅读(27537) 评论(1) 推荐(4) 编辑