Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ISQL on remote server

Posted on 2004-08-20
1
Medium Priority
?
358 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 1000 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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

718 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