![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库相关
文章平均质量分 79
xuecxuec
这个作者很懒,什么都没留下…
展开
-
Java的各种数据库连接代码
1、Oracle8/8i/9i数据库(thin模式)Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();String url="jdbc:oracle:thin:@localhost:1521:orcl"; //orcl为数据库的SIDString user="test";String pas转载 2011-12-07 15:08:28 · 382 阅读 · 0 评论 -
SQL Server 2000 数据类型
1. 数据类型分类1.1. 整型1.1.1. 概述在SQL Server 2000中整型按照数据范围从小到大分为: bit, tinyint, smallint, int, bigint。1.1.2. 详细描述数据类型取值范围描述备注bit0, 1, NULL翻译 2011-12-07 20:33:03 · 1675 阅读 · 0 评论 -
SQL Server 中的日期类型
我们经常出于某种目的需要使用各种各样的日期格式,当然我们可以使用字符串操作来构造各种日期格式,但是有现成的函数为什么不用呢?SQL Server中文版的默认的日期字段datetime格式是yyyy-mm-dd Thh:mm:ss.mmm 例如: select getdate() 2004-09-12 11:06:08.177 整理了一下SQL Serve转载 2011-12-07 21:56:08 · 625 阅读 · 0 评论 -
如何修改SQL Server 2000身份验证模式和系统管理员Sa的登录密码
1、如何修改SQL Server 2000身份验证模式? 分析:由于千方百剂软件,在数据库安全方面采用了最安全的方式“混合模式”,它主要应用于网络主要是Novell网络或者对等网,使用SPX/IP协议和SQL Server验证模式。 优点如下: 创建了Windows NT/2000之上的另外一个安全层次。 支持更大范围的用户,例如非Windows NT客户、Novell转载 2011-12-11 01:06:37 · 522 阅读 · 0 评论