首页 > 数据库技术 > 详细

SQL Server Summary

时间:2015-07-31 00:58:13      阅读:219      评论:0      收藏:0      [点我收藏+]

Recently I have got some free time and go over the knowledge about SQL Server.Write this acticle in order to review in the future.

1.  Join Option

Join is important option in relational database.There are many types of Join including Inner join, Outer join and Cross join.

Some important Tips:

2.  Transaction :

  • Transaction Features(ACID):Atomicity, Consistency, Isolation and Durability
  • Transaction Template
--Transaction Template
CREATE TRANSACTION [Name]
AS
BEGIN TRY
    BEGIN TRANSACTION
        --Execute Code
    COMMIT TRANSACTION
END TRY
BEGIN CATCH
    IF(@@TRANCOUNT >0)
        ROLLBACK TRANSACTION
    END IF
END CATCH

 

SQL Server Summary

原文:http://www.cnblogs.com/Blackeye286/p/3716525.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!