home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 February
/
CHIP_2_98.iso
/
software
/
pelne
/
optionp
/
iis4_07.cab
/
BuildBCP.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1997-11-01
|
2KB
|
47 lines
cls
@echo off
echo --------------------------------------------------------------------
echo Exploration Air Sample Site SQL Server Build BCP script (v1.04.0912)
echo --------------------------------------------------------------------
echo.
echo This batch file builds the initial SQL Server BCP files from
echo the ExAir databases. It is not for general use.
echo.
echo Usage is:
echo.
echo BuildBCP.cmd
echo.
echo Note there are some assumptions:
echo 1) SQL Server is located in c:\mssql\
echo 2) The admin account is SA with no password
echo.
set SRV=%COMPUTERNAME%
echo About to build BCP files on '%SRV%'
echo.
pause
echo.
echo Building BCP files
bcp ExAir..Ads out Ads.bcp -S%SRV% -Usa -P -c
bcp ExAir..AdsInterests out AdsInterests.bcp -S%SRV% -Usa -P -c
bcp ExAir..Company out Company.bcp -S%SRV% -Usa -P -c
bcp ExAir..Destination out Destination.bcp -S%SRV% -Usa -P -c
bcp ExAir..FlightSchedule out FlightSchedule.bcp -S%SRV% -Usa -P -c
bcp ExAir..InterestCategories out InterestCategories.bcp -S%SRV% -Usa -P -c
bcp ExAir..Interests out Interests.bcp -S%SRV% -Usa -P -c
bcp ExAir..Member out Member.bcp -S%SRV% -Usa -P -c
bcp ExAir..Membership out Membership.bcp -S%SRV% -Usa -P -c
bcp ExAir..MembershipType out MembershipType.bcp -S%SRV% -Usa -P -c
bcp ExAir..MembersInterests out MembersInterests.bcp -S%SRV% -Usa -P -c
bcp ExAir..Promotions out Promotions.bcp -S%SRV% -Usa -P -c
bcp ExAir..PromotionsInterests out PromotionsInterests.bcp -S%SRV% -Usa -P -c
bcp ExAir..Special out Special.bcp -S%SRV% -Usa -P -c
bcp ExAir..TakeANumber out TakeANumber.bcp -S%SRV% -Usa -P -c
bcp ExAir..Transactions out Transactions.bcp -S%SRV% -Usa -P -c
bcp ExAir..TransactionType out TransactionType.bcp -S%SRV% -Usa -P -c
Echo Done!