Advantages of Sql Server 2000 over Sql Server 7

greenspun.com : LUSENET : OpenKnowledge : One Thread

Can any one tell me the advantages Sql Server 2000 has over Sql server 7....?

-- Harikrishnan Rajeev (harikrishnanrajeev@hotmail.com), May 27, 2003

Answers

• User-Defined Functions: User-Defined Functions (UDFs) -- one or more Transact-SQL statements can be used to encapsulate code for reuse. User-defined functions cannot make a permanent changes to the data or modify database tables. UDF can change only local objects for a UDF, such as local cursors or variables. • Distributed Partitioned Views: Distributed partitioned views allow you to partition tables horizontally across multiple servers. So, you can scale out one database server to a group of database servers that cooperate to provide the same performance levels as a cluster of database servers. Due to distributed partitioned views, SQL Server 2000 now on the first place in the tpc-c tests. • New Data Types: These include: bigint, an 8-byte integer type; sql_variant, a data type that allows the storage of data of different data types; and the table data type, which allows applications to store results temporarily for later use. • INSTEAD OF and AFTER Triggers: There are INSTEAD OF and AFTER Triggers in SQL Server 2000. INSTEAD OF triggers are executed instead of the INSERT, UPDATE or DELETE triggering action. AFTER triggers are executed after the triggering action. • Cascading Referential Integrity Constraints: There are new ON DELETE and ON UPDATE clauses in the REFERENCES clause of the CREATE TABLE and ALTER TABLE statements.

The ON DELETE clause controls what actions are taken if you attempt to delete a row to which existing foreign keys point. The ON UPDATE clause defines the actions that are taken if you attempt to update a candidate key value to which existing foreign keys point.

The ON DELETE and ON UPDATE clauses have two options:

• NO ACTION • CASCADE

NO ACTION specifies that the deletion/update fail with an error.

CASCADE specifies that all the rows with foreign keys pointing to the deleted/updated row are also deleted/updated. • 32 CPU and 64GB Memory Support: SQL Server 2000 Enterprise Edition running under Windows 2000 DataCenter can support up to 32 CPUs and up to 64GB of physical memory (RAM) on a computer. • XML Support: SQL Server 2000 can use XML to insert, update, and delete values in the database, and the database engine can return data as Extensible Markup Language (XML) documents.

-- Bhaskar Nagaraja (Bhaskar.nagaraja@hotmail.com), June 24, 2003.


پاك-بهارت مذاكرات پاكستان بهارت كشمير

-- Your Full Name (-- Harikrishnan Rajeev (harikrishnanrajeev@hotmail.com)), July 26, 2003.

Moderation questions? read the FAQ