473,385 Members | 2,014 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

executing a process from SQL Server

i have to write a process for a client. this process will have no visual
component and will be scheduled to run as a job from Microsoft SQL Server
daily. I want to write this process in java instead of bunch of stored
procedures. can i do such a task? can somebody please explain the options
available to me in this regard?

Thanks

Rizwan
Jul 17 '05 #1
4 2310
Rizwan wrote:
i have to write a process for a client. this process will have no visual
component and will be scheduled to run as a job from Microsoft SQL Server
daily. I want to write this process in java instead of bunch of stored
procedures. can i do such a task? can somebody please explain the options
available to me in this regard?


Personally, if I wanted to have a java process run every so often on the
Windows platform I would create a batch file to launch it and set it up
as a scheduled task. Why do you want to execute it from SQL Server?

Ray

--
XML is the programmer's duct tape.
Jul 17 '05 #2
test.. sorry...

"Rizwan" <hu******@pendylum.com> wrote in message
news:2Q*******************@news20.bellglobal.com.. .
i have to write a process for a client. this process will have no visual
component and will be scheduled to run as a job from Microsoft SQL Server
daily. I want to write this process in java instead of bunch of stored
procedures. can i do such a task? can somebody please explain the options
available to me in this regard?

Thanks

Rizwan

Jul 17 '05 #3
I actually dont want to execute it from SQL Server.We already have another
process which is a bunch of Stored Procs and we have defined a DTS which
calls those stored procedure and we have scheduled it to run it daily.
Thats why i said if we can do the same thing for this new process but
instead of stored procs use java. But i did not know that there are better
options available like one you mentioned. Can you explain your solution?

Thanks

"Raymond DeCampo" <rd******@spam.twcny.spam.rr.spam.com.spam> wrote in
message news:j4*******************@twister.nyroc.rr.com...
Rizwan wrote:
i have to write a process for a client. this process will have no visual
component and will be scheduled to run as a job from Microsoft SQL Server daily. I want to write this process in java instead of bunch of stored
procedures. can i do such a task? can somebody please explain the options available to me in this regard?


Personally, if I wanted to have a java process run every so often on the
Windows platform I would create a batch file to launch it and set it up
as a scheduled task. Why do you want to execute it from SQL Server?

Ray

--
XML is the programmer's duct tape.

Jul 17 '05 #4
Rizwan wrote:
I actually dont want to execute it from SQL Server.We already have another
process which is a bunch of Stored Procs and we have defined a DTS which
calls those stored procedure and we have scheduled it to run it daily.
Thats why i said if we can do the same thing for this new process but
instead of stored procs use java. But i did not know that there are better
options available like one you mentioned. Can you explain your solution?


Go into the Windows Help (Ctrl+F1) and search for "Scheduled Tasks" or
"at". Or search for these on Google.

Ray

--
XML is the programmer's duct tape.
Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Yoshitha | last post by:
HI I am calling exe (vb.net application) from web application for this i wrote code like this system.diagnosis.process.start("e:\...") i wrote above code in button click event.
0
by: Fiona | last post by:
I am trying to execute a .cmd file by setting up a System.Diagnostics.Process object with the appropriate StartInfo (filename, arguments, etc), however this doesn't seem to be executing correctly....
15
by: Chakkaradeep | last post by:
Hi all, i have written a Service,now i want to execute another application (for eg;calc.exe) in the service....how will i perform it??... i tried using this.... /**************Executing a...
0
by: Abhi | last post by:
Hi- I'm trying to execute the C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\50\bin\OWSADM.EXE programmatically from a shell using the process.Start() method. I'm also...
2
by: Cédric Rossé | last post by:
Hello, I'm currently developping a web application and I'm trying to execute a batch file (.cmd) on the server side when the client presses a button on a web page. When I do this on my local...
3
by: Peter Strøiman | last post by:
Hi. I have a web application that needs to run tasks at regular intervals. E.g. it must send out emails every night to people who subscribe to that service. I have come up with one solution,...
0
by: =?Utf-8?B?Vmlua2k=?= | last post by:
hello Everyone, I created this batch file that executes the taskKill command to kill the process on the remote server. When I call this batch file from the console applications, it runs fine and...
5
by: rohitkumar | last post by:
I am trying to build a web application which can execute dos print command on the client machine. This application will read a file stored in server and it will create a folder on client machine...
0
Frinavale
by: Frinavale | last post by:
I have a peculiar problem... Background: I have a function that I don't want the user to execute more than once while they are waiting for it to process; therefore, I disable all of the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.