Загрузил скрипты лаб 1-7

This commit is contained in:
2022-10-26 00:38:28 +03:00
commit 38c08028f1
56 changed files with 1380 additions and 0 deletions

16
Lab6/Task1_1.sql Normal file
View File

@@ -0,0 +1,16 @@
-- This should fail
USE AdventureWorks
TRUNCATE TABLE [HumanResources].[JobCandidateHistory]
GO
USE AdventureWorks
INSERT INTO [HumanResources].[JobCandidateHistory]
VALUES
(1,
'<ns:Resume xmlns:ns="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/Resume">
<ns:ResumeData></ns:ResumeData>
</ns:Resume>'
,-1
,GETDATE()
,1)
TRUNCATE TABLE [HumanResources].[JobCandidateHistory]
GO