Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 23rd, 2004, 03:16 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: abu dbabi, , United Arab Emirates.
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default Run query automatically

there is any procedure (method etc) available in sql server /query analyzer that run following update query automatically ?


update arc set imagereference=replace(imagereference,'$(ROOTDIR)' ,'\\Auhtripdc\As_Built\tiffiles') where imagereference like '%$(ROOTDIR)%'


update the records daily automatic ?

regards.

Mateen



Reply With Quote
  #2 (permalink)  
Old March 23rd, 2004, 07:47 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Make sure SQL Agent is running and schedule a new job to run daily. Maybe easier to put the code into a stored procedure.

--

Joe
Reply With Quote
  #3 (permalink)  
Old March 25th, 2004, 12:11 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: abu dbabi, , United Arab Emirates.
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks.

My SQL Agent not running, it give message that performing this
service operation on SQLServerserver Agent.

I am using client side sql server, in my PC (control panel, services) there is no SQL Server Agent service available.

I need to start SQL Server Agent service on the Server side ?
can I start this serivce from the client side ?

regards.

Mateen





Quote:
quote:Originally posted by joefawcett
 Make sure SQL Agent is running and schedule a new job to run daily. Maybe easier to put the code into a stored procedure.

--

Joe
Reply With Quote
  #4 (permalink)  
Old March 25th, 2004, 05:08 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

What operating system and which version of SQL Servre?

--

Joe
Reply With Quote
  #5 (permalink)  
Old March 27th, 2004, 12:01 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: abu dbabi, , United Arab Emirates.
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am using Windows XP and SQL SERVER 2000 client side.
in server side SQL Server 2000 and operation system
windows 2000.


regards.


Quote:
quote:Originally posted by joefawcett
 What operating system and which version of SQL Servre?

--

Joe
Reply With Quote
  #6 (permalink)  
Old March 27th, 2004, 05:50 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Go into the enterprise manager, navigate to the server in question and start up the service (from Magement Section, I think). Look in books on-line that should have been installed when you installed the manager. Even if you don't have the manager you can stop/start with the app that normally sits in the system tray.

--

Joe
Reply With Quote
  #7 (permalink)  
Old March 28th, 2004, 12:17 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: abu dbabi, , United Arab Emirates.
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks.

you can give me online book site address.
it miss by me.

Mateen



Quote:
quote:Originally posted by joefawcett
 Go into the enterprise manager, navigate to the server in question and start up the service (from Magement Section, I think). Look in books on-line that should have been installed when you installed the manager. Even if you don't have the manager you can stop/start with the app that normally sits in the system tray.

--

Joe
Reply With Quote
  #8 (permalink)  
Old March 28th, 2004, 04:12 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

The first result from Google for "SQL Server Books Online" brought this linK:

http://www.microsoft.com/sql/techinf...2000/books.asp

Was that too difficult?

--

Joe
Reply With Quote
  #9 (permalink)  
Old March 28th, 2004, 05:44 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: abu dbabi, , United Arab Emirates.
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks.

Quote:
quote:Originally posted by joefawcett
 The first result from Google for "SQL Server Books Online" brought this linK:

http://www.microsoft.com/sql/techinf...2000/books.asp

Was that too difficult?

--

Joe
Reply With Quote
  #10 (permalink)  
Old March 28th, 2004, 03:35 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Location: Clarksville, TN, USA.
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Some times SQL Server Agent will not start with the default installation. Make sure that you download the latest service pack for SQL Server ant the latest MDAC release.

I think you can use SQLDMO to start/stop the Agent, but preferably use enterprise manager. Do not allow your users to start or stop the agent.



Sal
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
run a program automatically hastikeyvan ASP.NET 2.0 Professional 1 December 18th, 2009 03:34 PM
making application run automatically liamfitz Pro VB 6 4 January 23rd, 2008 05:27 PM
run automatically...help plz lom2pac Access 2 August 7th, 2006 10:42 AM
Set query up to automatically run in SQL server ALLA SQL Server 2000 3 October 21st, 2004 04:24 PM
Run vb application automatically PbsiGuru General .NET 3 March 17th, 2004 04:18 AM



All times are GMT -4. The time now is 03:10 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.