Batch insert db data

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
darioit
Posts: 230
Joined: 02 Aug 2010 05:25

Batch insert db data

#1 Post by darioit » 04 Sep 2010 01:57

Hello everybody,

it's possible to do insert data into db sql 2005 from text file using a batch scripting?

Thanks in advance
Dario

ghostmachine4
Posts: 319
Joined: 12 May 2006 01:13

Re: Batch insert db data

#2 Post by ghostmachine4 » 04 Sep 2010 02:20

learn how to use the osql/isql command line client. you will usually use it to run your sql script.

darioit
Posts: 230
Joined: 02 Aug 2010 05:25

Re: Batch insert db data

#3 Post by darioit » 04 Sep 2010 04:27

I read that OSQL is deprecated in 2005 !

ghostmachine4
Posts: 319
Joined: 12 May 2006 01:13

Re: Batch insert db data

#4 Post by ghostmachine4 » 04 Sep 2010 06:35

darioit wrote:I read that OSQL is deprecated in 2005 !

then check your newer version of SQL. there must be a newer version of the client.

Post Reply