SQL Server - Bài 1
... LanguagesTransact -SQL (T -SQL) CLR SQL Server EditionsEvolution of SQL Server Summary MicrosoftMicrosoftRelational Data ModelBund ooraNorma n8507Ba lw ynMary8452Bund ooraGlen3936KewRob ert 110 8SuburbNameIdStudentTa ... objects MicrosoftMicrosoftExample MicrosoftMicrosoftOutlineIntroduction to SQL ServerRelational Data ModelExploring SQL Server Architecture Data Access Ar...
Ngày tải lên: 15/11/2012, 10:59
... KH03 HD009 15 /08/2000 KH04 HD 010 30/09/2000 KH 01 HD 011 27 /12 /2000 KH06 HD 012 27 /12 /2000 KH 01 Table CHITIETHOADON: MAHD MAVT SL GIABAN HD0 01 VT 01 5 52000 HD0 01 VT05 10 30000 HD002 VT03 10 000 15 0 HD003 ... 47000 HD009 VT02 25 48000 HD 010 VT 01 25 57000 HD 011 VT 01 20 55000 HD 011 VT02 20 45000 HD 012 VT 01 20 55000 HD 012 VT02 10 48000 HD 012 VT03 10 000 15 0 Câu...
Ngày tải lên: 22/01/2014, 00:20
SQL Server - Bài 2
... created by users MicrosoftMicrosoft Surface Area Configuration New Installation SQL Server 2008 SQL Server 2005 SQL Server 2008 Services disabled and features not installed by default State of ... Environment √ Navigation √ Administering Databases √ Maintaining SQL Server Database √ Writing Transact -SQL with Query Editor Working with Templates, Solutions, Script Projec...
Ngày tải lên: 15/11/2012, 10:59
SQL Server - Bài 3
... functions MicrosoftMicrosoft- ASCII( )- CHAR( )- UPPER( )- LOWER( )- LEN( )- LTRIM( )- RTRIM( )- LEFT( )- RIGHT( )- AVG( )- MIN( )- MAX( )- SUM( )- COUNT( )- SQUARE( )- SQRT( )- ROUND( )- GETDATE()-DATEPART(YY,getdate() )- DATEDIFF(X,Y,Z )- ... T -SQL for Data ManipulationVu Tuyet Trinhtrinhvt-fit@mail.hut.edu.vnHanoi University of Te...
Ngày tải lên: 15/11/2012, 10:59
SQL Server - Bài 4
... image Others sql_ variant, timestamp, xml… MicrosoftMicrosoft User-defined Data Type Extending the SQL type system as alias data types that consist of a single SQL Server system data ... data management • Enterprise-scales only Example • Windows File Servers • NetApp NetFiler • EMC Centera • Fujitsu Nearline • SQL Server VARBINARY(MAX) Use File Servers DB Application Ap...
Ngày tải lên: 15/11/2012, 10:59
SQL Server - Bài 6
... Procedures &User-Defined FunctionsVu Tuyet Trinhtrinhvt-fit@mail.hut.edu.vnHanoi University of Technology1 MicrosoftMicrosoftIntroduction to SQL Batch ProcessingBatchIndividual SQL commandsGrouped ... MicrosoftMicrosoftVariablesSQL Server supports two types of variables in T -SQL @@global_variable@local_variable MicrosoftMicrosoftList of Global variables @@CONNECTIONS Number of...
Ngày tải lên: 15/11/2012, 10:59
SQL Server - Bài 7
... I.ProductIDENDProductsProductsProductIDUnitsInStock… 13 415 1065202 15 UpdatedBackOrdersBackOrdersProductIDUnitsOnOrder 11 2 315 10652 15 Trigger Deletes Row MicrosoftMicrosoftProductsProductsProductIDUnitsInStock… 12 3 415 106520Enforcing ... loggedinsertedinserted10523 2 19 .00 5 0.2TRIGGER Actions ExecuteOrder DetailsOrder DetailsOrderID1052 210 52 310 524ProductID10 417 UnitPri...
Ngày tải lên: 15/11/2012, 10:59
SQL Server - Bài 8
... ProviderSystem.data.dll+{System.data}….IDbConnectionIDbCommandIDataReaderIDbTransactionIDbDataAdapter….System.data.dll+{System.data.SqlClient}….SqlConnectionSqlCommandSqlDataReaderSqlTransactionSqlDataAdapterSqlCommandBuilderWarning: There is no IDbCommandBuilder MicrosoftMicrosoftDataReaderFast Forward-Only/Read-Only ... create SqlMetaData to describe the resultSqlMetaData[] columns = new...
Ngày tải lên: 15/11/2012, 10:59
SQL Server - Bài 9
... USE NorthwindALTER TABLE dbo.EmployeesADD CONSTRAINT CK_birthdateCHECK (BirthDate > '0 1- 0 1- 1 900' AND BirthDate <getdate()) MicrosoftMicrosoftDEFAULT ConstraintsApplied for INSERT ... Integrity(between tables)User-definedintegrity MicrosoftMicrosoftEnforcing Data IntegrityDeclarative data integrityDefined in object definitionsEnforced automatically SQL Server...
Ngày tải lên: 15/11/2012, 10:59
SQL Server - Bài 10
... EnumLocks• SQL Server Profiler • System Monitor MicrosoftMicrosoftConsiderations for Using TransactionsTransaction guidelinesKeep transactions as short as possibleUse caution with certain Transact -SQL ... TRANSACTION INSERT INTO Extensions (PrimaryExt) VALUES ('555 12 12') INSERT INTO Extensions (VoiceMailExt) VALUES ('55 512 12') ROLLBACK TRANSACTION Microsoft...
Ngày tải lên: 15/11/2012, 10:59