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
时间: 2024-10-21 03:53:42