I want to upgrade a 2005 db to 2008, using 2008 Sql Server Mgt Studio to do so, and getting the warning at the end. Questions:
As an aside, my only real motivation to bother is that the datetime type has become a problem. What did people do when they needed a date earlier than the 18th century before date and datetime2 came along??
SQL Server Agent does not appear to be running on the destination server. If SQL Server Agent is not running on the destination server, Copy Database Wizard will not function properly. Do you want to continue?
Microsoft SQL Server Agent must be running as a service in order to automate administrative tasks. For more information, see Configure SQL Server Agent. Object Explorer only displays the SQL Server Agent node if you have permission to use it.
Answer. The SQL Server Agent might keep stopping, but the SQL Server service remains operational. The only way to correct the issue is to rebuild the master database by rerunning the SQL Server Setup utility. If you require assistance on this process, you need to engage Microsoft support.
SQL Server Agent is a Microsoft Windows service that runs scheduled administrative tasks that are called jobs. You can use SQL Server Agent to run T-SQL jobs to rebuild indexes, run corruption checks, and aggregate data in a SQL Server DB instance.
The SQL Server Agent node can be located in the root node when using Object Explorer. If you expand this node, you will also see other related items to SQL Server Agent.
try :
start-> run->services.msc
search for the sql server agent and see if it has started
What did people do when they needed a date earlier than the 18th century before date and datetime2 came along??
That is an SQL Server limitation (and perhaps other DBMS). I would say that since C# (.NET) can handle a date like "01/01/0001" you can always convert your date into a long, save it to the db as a BIGINT and recreate/regenerate it after retrieval. For example, to convert today's date to a long, you can do:
var dt = DateTime.Now.ToBinary();
That is a hack, of course :)
The following line will convert the long back into a date:
var dt1 = DateTime.FromBinary(dt);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With