Solved

ISQL on remote server

Posted on 2004-08-20
1
356 Views
Last Modified: 2012-05-05
I have a .bat file that runs an isql command. How can I set it up to run on the server from a client machine? Right now it's set up to run.
here is what the file looks like
C:\PROGRA~1\MICROS~3\80\tools\binn\isql -h-1 -U useraccount -P  "whatever" -S server -d live -Q" set nocount on delete from scheme.stock insert into scheme.stock select * from scheme.stock2"

 
0
Comment
Question by:ClintN
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 9

Accepted Solution

by:
SoftEng007 earned 250 total points
ID: 11857352
use sql agent.

make this query a sql job.

then have your isql bat file exec sp_startjob 'job name here'
the job will run on the remote server.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question