jika dalam file update.sql tidak ada syntax
USE [nm_database]
osql -Usa -Ppassword123 -Sserver123 -d[nm_database]
-i"d:\db\update.sql"
jika dalam file update.sql sudah ada syntax
USE [nm_database]
osql -Usa -Ppassword123 -Sserver123
-i"d:\db\update.sql"
semoga berhasil
--- yazid <[EMAIL PROTECTED]> wrote:
>
> saya punya perintah dari command prompt spt ini :
>
> c:\osql -U sa -P password123 -S server123 -i
> d:\db\update.sql
>
> fungsinya utk mengexecute perintah2 query sql di
> dalam file update.sql
> file update.sql dibuat dari query analyzer sql
> server 2000
>
> saya ingin buat jadi file batch .. update.bat
> sehingga saya tidak
> perlu ketik manual lagi utk executenya
>
> karena nantinya juga tidak diexecute manual tapi
> dari program.
> bagaimana syntax utk file batch itu ya ??
>
> thanks
>
>
>
>
=====
Wahyu Kurniawan, A.Md.
HP : 08561884559
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/NhFolB/TM
--------------------------------------------------------------------~->
IndoPB - Indonesia PB User Group
To Post a message, send it to: [EMAIL PROTECTED]
To Unsubscribe,send a blank message to: [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/indopb/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/