- SQL Server csv in xml out Project
- SQL Server csv in xml out Project Part 2
- SQL Server csv in xml out Project Part 3
- SQL Server csv in xml out Project Part 4
- SQL Server csv in xml out Project Part 5
- SQL Server csv in xml out Project Part 6
- SQL Server csv in xml out Project Part 7
- SQL Server csv in xml out Project Part 8
- SQL Server csv in xml out Project Part 9
- SQL Server csv in xml out Project Part 10
- SQL Server csv in xml out Project Part 11
- SQL Server csv in xml out Project Part 12
- SQL Server Move Data to a File Part 13
Part 9
DECLARE @OrderNumber VARCHAR(5); SELECT @OrderNumber = OrderNumber FROM [dbo].[01HeaderBulkInsert]; -- Copy from the two "insert" tables to three tables. INSERT INTO Suppliers (FullSupplierName, SupplierCode) SELECT FullSupplierName, SupplierCode FROM [dbo].[01HeaderBulkInsert] INSERT INTO Orders(SupplierCode, OrderNumber,CSVDatetime) SELECT SupplierCode, OrderNumber, DateAndTime FROM [dbo].[01HeaderBulkInsert] INSERT INTO Books (OrderNumber, BookTitle, ISBN, Authors, Quantity, UnitPrice) SELECT @OrderNumber, BookTitle, ISBN, Authors, Quantity, UnitPrice FROM [dbo].[02DetailBulkInsert]