Solved

ISQL on remote server

Posted on 2004-08-20
1
347 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
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now