修改SQL 2005数据库默认不区分大小写
创建的数据库中区分大小写
create database test COLLATE Chinese_PRC_CS_AS
数据库中区分大小写
alter database test COLLATE Chinese_PRC_CS_AS
恢复默认的不区分大小写
alter database test COLLATE Chinese_PRC_CI_AS
相关文档:
select *from customers
select *from orders
select customers.cust_id, orders.order_num from customers inner join orders on customers.cust_id=orders.cust_id
select customers.cust_id, orders.order_num from customers left outer join orders on customers.cust_id=orde ......
一。SQL Server 的三种自定义函数
“自定义函数”是我们平常的说法,而“用户定义的函数”是 SQL Server 中书面的说法。
SQL Server 2000 允许用户创建自定义函数,自定义函数可以有返回值。
自定义函数分为:标量值函数或表值函数
如果 RETURNS 子句指定一种标量数据类型,则函数为标量值函数。可 ......
weblogic8.1没有带SQL Server 2005的JDBC驱动,需要去微软网站下载。
地址:http://msdn.microsoft.com/vstudio/express/sql/download/
启动 SQL Server Configuration manager,展开SQL Server 2005
网络配置,单击“MSSQLSERVER的协议&rdqu ......
使用Tranact-SQL 编写代码来创建一个新表:
USE [OnlineJudge]
GO
/****** Object: Table [dbo].[User1] Script Date: 05/17/2010 14:05:06 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[User2](/*notice convert the tablename*/
[num] [int]IDENTITY(1,1) NOT N ......