Showing posts with label missing. Show all posts
Showing posts with label missing. Show all posts

Friday, March 30, 2012

scheduling snapshot and synchronization is missing on the generate scripts

hello all,

i need to bring down the entire replication solution

but just before i do that i need to script. The EM has a generate script feature

but it lacks the schedule for snapshot generation and synchronization

by the way,

whats the fastest way of melting the entire replication solution and

then brinnging them back again.

Can i do replication backup and restore?

regards,

joey

use <published db name>

exec sp_removedbreplication <published db name>

go

use master

sp_dropdistributor 1

go

You can use sp_removedbreplication on the subscriber database as well, and if you have a remote distributor, you can run sp_dropdistributor 1 to remove the distributor.

After that, you can apply your scripts.

sql

Wednesday, March 28, 2012

Scheduling jobs

It appears that SQL 2005 Express has removed the SQL Agent. Is this true?
Or, am I simply missing something obvious? If not there, does anyone know
the minimum version of SQL 2005 which enables job scheduling?
Thank in advance,
Gary Johnson
Hello,
Yes it is. SQL Express do not have SQL Agent. You could use Windows
schedular to schedule the tasks like Backup, Monitoring, Procedure execution
ect...
See the info from Microsoft URL:-
SQL Agent
SQL Agent is a SQL Server service that is used to automatically schedule job
execution for SQL Server. It is typically used to schedule the execution of
DTS packages or to perform system maintenance tasks like database backups.
While MSDE includes the SQL Agent service, SQL Server 2005 Express does not.
However, you can use the Windows built-in Task Scheduler to schedule jobs
for SQL Server 2005 Express. You can use Task Scheduler in combination with
the downloadable DTS runtime to automatically schedule the execution of DTS
packages. Likewise, you can use Task Scheduler in combination with the SQL
Server 2005 Express command-line SQLCMD tool to regularly execute SQL Server
2005 Express system maintenance jobs like database backups and other
database access jobs.
http://www.microsoft.com/technet/prodtechnol/sql/2005/msde2sqlexpress.mspx
Thanks
Hari
"Gary Johnson" <gary.johnson@.geoffreynyc.com> wrote in message
news:b9401$45baae1c$44a72b52$14138@.msgid.meganewss ervers.com...
> It appears that SQL 2005 Express has removed the SQL Agent. Is this true?
> Or, am I simply missing something obvious? If not there, does anyone know
> the minimum version of SQL 2005 which enables job scheduling?
> Thank in advance,
> Gary Johnson
>
|||Service Broker also works well as a job scheduler and is available in SQL
Express:
http://blogs.msdn.com/rogerwolterblog/archive/2006/04/13/575974.aspx
http://www.microsoft.com/technet/technetmag/issues/2005/05/ServiceBroker/default.aspx
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Gary Johnson" <gary.johnson@.geoffreynyc.com> wrote in message
news:b9401$45baae1c$44a72b52$14138@.msgid.meganewss ervers.com...
> It appears that SQL 2005 Express has removed the SQL Agent. Is this true?
> Or, am I simply missing something obvious? If not there, does anyone know
> the minimum version of SQL 2005 which enables job scheduling?
> Thank in advance,
> Gary Johnson
>
sql

Friday, March 9, 2012

Schedule Subscription without recurrence

Something is missing me...

What if i want to schedule a subscription, let's say, tomorrow?

Not for tomorrow and next days... just once (tomorrow).

Is this possible?

Thanks in advance

Luis Neves

Of course i meant, tomorrow, with a specified StartTime.

Knowing there is no EndTime for the schedule, do we need do delete/disable the subscription?

LN

|||

Hi Luis -

SSNS doesn't have the concept of a one-off type of subscription. To accomplish this, you can:

1) Create a customer delivery channel that disables a subscription or subscriber after sending, or

2) Create a scheduled job that disables a subscription or subscriber on a periodic basis.

My preference would be #2.

HTH...

Joe