Skip to content

Commit bae8633

Browse files
committed
mlm sql dumps for all engines except oracle, company sql and binary dump only for mssql
1 parent 6468c7e commit bae8633

30 files changed

+68
-1
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
:: ======================================================================================
2+
::
3+
:: leave it blank if you have MS SQL Server 'Binn' directory in PATH system variable:
4+
@set mssqlPath=
5+
:: mssql server address (COMPUTER\INSTANCE):
6+
@set mssqlServer=.\SQLEXPRESS
7+
::
8+
:: ======================================================================================
9+
10+
@set currentDir=%CD%
11+
@cd %mssqlPath%
12+
13+
@cls
14+
@echo *****************************************************************
15+
@echo * *
16+
@echo * Databasic Demo Company Database Import *
17+
@echo * *
18+
@echo *****************************************************************
19+
@echo.
20+
21+
sqlcmd.exe -S %mssqlServer% -i %currentDir%/01-dbd-company-structure.sql
22+
sqlcmd.exe -S %mssqlServer% -i %currentDir%/02-dbd-company-data-Attendance.sql
23+
sqlcmd.exe -S %mssqlServer% -i %currentDir%/03-dbd-company-data-Contacts.sql
24+
sqlcmd.exe -S %mssqlServer% -i %currentDir%/04-dbd-company-data-ContactsCategories.sql
25+
sqlcmd.exe -S %mssqlServer% -i %currentDir%/05-dbd-company-data-Departments.sql
26+
sqlcmd.exe -S %mssqlServer% -i %currentDir%/05-dbd-company-data-Departments.sql
27+
sqlcmd.exe -S %mssqlServer% -i %currentDir%/06-dbd-company-data-Persons.sql
28+
sqlcmd.exe -S %mssqlServer% -i %currentDir%/07-dbd-company-data-indexes.sql
29+
30+
@echo.
31+
@echo All data imported.
32+
@echo.
33+
34+
@cd %currentDir%
35+
@pause
7.96 MB
Binary file not shown.

0 commit comments

Comments
 (0)