Maintenance Wizard

Jul 20, 2005

I'm trying to backup several databases to UNC folders. I'm able to do it
manually for each database, but when I set up the maintenance plan it fails
because SQL tries to use the SQL administrator account to push the data.


The million dollar question is how does one change which account is running
the maintenance?

View 2 Replies


ADVERTISEMENT

Maintenance Plan Wizard Vs Tsql Maintenance

Aug 17, 2007

Hello,

I have a question that I hope someone can clear up for me. I have come across a number of different suggestions on DB maintenance, for example reindexing with the following script:

USE DatabaseName --Enter the name of the database you want to reindex

DECLARE @TableName varchar(255)

DECLARE TableCursor CURSOR FOR
SELECT table_name FROM information_schema.tables
WHERE table_type = 'base table'

OPEN TableCursor

FETCH NEXT FROM TableCursor INTO @TableName
WHILE @@FETCH_STATUS = 0
BEGIN
DBCC DBREINDEX(@TableName,' ',90)
FETCH NEXT FROM TableCursor INTO @TableName
END

CLOSE TableCursor

DEALLOCATE TableCursor

My question is, doesn't the maintenance plan have this functionality inherent in it when you create the maintenance jobs to reindex? Is there a benefit to scripting things out vs just using the maintenance plan wizard for this sort of thing and any of the items it covers? I came from an Oracle background where this was a no-brainer but I am a bit confused on the choices with SQL Server.

Thanks.

View 1 Replies View Related

DB Maintenance Plan Wizard

Sep 14, 2000

I have created the backup plan for all the 40 user databases on one of the production servers.Scheduled to run the backup at Sunday 2.00AM every week on to a different drive on the same server.If all the databases are backed up at the same specified time,will it effect the performance or anything?Under the maintenance plan wizard,there is no option to select different times for different databases.Total size of all the databases will be 10GB.Does it take the backups one after another DB or all at the same time which is specified?Any idea on potential problems?
Thanks!!

View 1 Replies View Related

Maintenance Wizard Error...

Dec 18, 2006

Hi,

I'm just trying to use the Maintenance Wizard for the first time, but the SQL Server Management Studio shows me an error message about 'Agent XPs' is not running on my server; and I should activate it through 'sp_configure'?

I've tried to understand 'sp_configure' by searching it on MS TechNet, etc. But of course, because I'm not a SQL Server expert user; I don't even know how to use 'sp_configure' at all....

Anyone know how to work this thing around? Appreciate all the help...

PS: I almost forgot to mention, that I'm using MS Windows Small Business Server R2 2003 with SQL Server 2005 Workgroup Edition.

View 6 Replies View Related

SQL Server Database Maintenance Wizard

Feb 13, 2002

I've heard from several sources that there are issues using the maintenance wizard with 7.0 & 2000 databases. I'm looking for information to either support or refute this. Can anyone help?

View 2 Replies View Related

Database Maintenance Plan Wizard

Apr 8, 1999

I ran the Maintenance Plan Wizard and created 2 plans, one for the system databases and one for the User databases. While running the wizard I was asked if I wanted to configure an operator to e-mail reports to.

Once that operator is selected, how can you change it without recreating the maintenance plan?

This is separate from an operator that can be configured within each job.

Thanks,
C. Fischer

View 1 Replies View Related

Database Maintenance Plan Wizard

Apr 15, 1999

When i was going to run the Database Maintenance Plan Wizard on one of my databases, i received the following warning:

"Database 'HGB' is over 400MB in size. It is not recommended that you run the Database Maintenance Plan Wizard on databases exceeding this size. Do you still want to continue?"

My database has 1GB data space, with 757MB free and 341MB log, with 211MB free. What´s the matter on having too much free space? I thought that was good...

View 1 Replies View Related

Database Maintenance Plan Without Using The Wizard

May 2, 2008

Hi everybody,
I need a way to create a database maintenance plan in SQL Server 2000, without using the wizard. So, I am looking for a way to create this plan either using TSQL or (even better) using VB6 code (maybe by using SQLDMO library). I want the end-user of my vb6 application to decide for the options of the plan (like scheduling or backup directory). Does anybody have any sample vb6 code for doing this?
Thanks in advance.

View 1 Replies View Related

Maintenance Plan Wizard Missing

Jul 9, 2007

Under Management, all I have is SQL Server Logs and Activity monitor, no option to create a maintenance plan or run the wizard ??

View 4 Replies View Related

Problem With Database Maintenance Wizard

Jun 16, 2007

Hi



I have upgraded my Production Server from SQL Server 7 to SQL SERVER 2005 Enterprise Edition.
There are about 5 user databases(excluding 4 system databases).When I try to create a Database
Maintenance plan to create backup jobs for the user databases,they are no being listed/shown in the
DataBase Maintenance Plan wizard of SSMS(2005).What could be the reason ......?

View 3 Replies View Related

T-SQL Restore Of A File Created Through Maintenance Wizard

May 9, 2000

I am trying to restore a file that was created using Database Maintanence Wizard on a server that is now totally crashed.

I want to use T-SQL to restore the physical file to a new name and location.
Using the backup command, I get the error that I must use the with move option??

What are the required steps to restore from a
physical file (with a bak extention)???

I do not know the original database/log file names. Any advice?

Thanks
Ziggy

View 1 Replies View Related

SQL 2005 SP2 : Cannot See DB IN SQL 7.0 CMP MODE In Maintenance Plan Wizard

Jan 30, 2008



Hi,


I've small issue with SQL 2005 SP2. We have migrated database from another server with backup/restore procedure. Seems that db is properly set with cmp level 7.0. We are using standard maintenance plan for all SQL 2005 servers with option "backup all user databases", to have less work. Now it seems that dbs in SQL COMPATIBILITY LEVEL 7.0 cannot be backuped with Maintenance plan. They are not listed in the list of the databases and Maintenance plan is always reporting failure :

"Database '<DBNAME>' is not valid to be included in the maintenance plan."


Is there any way to fix this? Or can I safely switch db to CMP Level 8.0 at least?

Thanks for help

View 4 Replies View Related

How To Call &"Maintenance Plan Wizard&" In SSMS

Apr 25, 2008

I need to write my own application to start SQL Server Management Studio. What's more, when SSMS appears, the "SQL Server Maintenance Plan Wizard" is also required to be appeared. So could i get some suggest on implementing this scenario?
Thanks

View 1 Replies View Related

Importing Data From Oracle 8i/9i To SQL Server 2005 Using SQL Server Import And Export Wizard (AKA DTS Wizard)

Oct 20, 2006

Hi All,

I have become frustrated and I am not finding the answers I expect.

Here's the gist, we support both Oracle and SQL for our product and we would like to migrate our Clients who are willing/requesting to go from Oracle to SQL. Seems easy enough.

So, I create a Database in SQL 2005, right click and select "Import Data", Source is Microsoft OLE DB Provider for Oracle and I setup my connection. so far so good.

I create my Destination for SQL Native Client to the Database that I plan on importing into. Still good

Next, I select "Copy data from one or more tables or views". I move on to the next screen and select all of the Objects from a Schema. These are Tables that only relate to our application or in other words, nothing Oracle System wise.

When I get to the end it progresses to about 20% and then throws this error about 300 or so times:

Could not connect source component.
Warning 0x80202066: Source - AM_ALERTS [1]: Cannot retrieve the column code page info from the OLE DB provider. If the component supports the "DefaultCodePage" property, the code page from that property will be used. Change the value of the property if the current string code page values are incorrect. If the component does not support the property, the code page from the component's locale ID will be used.

So, I'm thinking "Alright, we can search on this error and I'm sure there's an easy fix." I do some checking and indeed find out that there is a property setting called "AlwaysUseDefaultCodePage" in the OLEDB Data Source Properties. Great! I go back and look at the connection in the Import and .... there's nothing with that property!

Back to the drawing board. I Create a new SSIS package and figure out quickly that the AlwaysUseDefaultCodePage is in there. I can transfter information from the Oracle Source Table to the SQL Server 2005 Destination Table, but it appears to be a one to one thing. Programming this, if I get it to work at all, will take me about 150 hours or so.

This make perfect sense if all you are doing is copying a few columns or maybe one or two objects, but I am talking about 600 + objects with upwards of 2 million rows of data in each!!

This generates 2 questions:
1. If the Import Data Wizard cannot handle this operation on the fly, then why can't the AlwaysUseDefaultCodePage property be shown as part of the connection
2. How do I create and SSIS Package that will copy all of the data from Oracle to SQL Server? The source tables have been created and have the same Schema and Object Names as the Source. I don't want to create a Data Flow Task 600 times.

Help!!!

View 8 Replies View Related

Maintenance Commands Affect On Log File / Log File Maintenance Without Log File Backups?

Jun 18, 2015

I am testing some maintenance tasks sql commands such as index rebuild, index reorg, update statistics and db integrity check on a SQL Server 2014 Database. This is a new non-production vendor database (DB Size 500 GBs, Log Size 25 GBs) which eventually will be created in production. Currently, it is in full recovery model and without log backups. The database has a whole lot of indexes. I am just trying to rebuild and reorganize all the indexes (that need it), in addition to trying to get an idea of how long these maintenance task will take and the space needed in the log file to complete these tasks/commands. I would like to execute these tasks manually (the first time) to gather the duration and space required information. Eventually, I would probably schedule a weekly job to perform this maintenance.

I ran the index rebuild task on the database and noticed that the log file grew by over 50 GBs. I killed the process and truncated and shrunk the log file back down.

1. Does the index rebuild, index reorg, update statistics and db integrity check commands all use the log file?

2. Does Indexs Reorg have less impact on log file then Index Rebuild?

3. Should a truncate log and shrink log file be performed after these maintenance commands?

4. Should a full database backup be performed after these maintenance commands? Or before the maintenance commands?

I have read and understand that shrinking is not good for the database (could lead to more fragmentation and more data file growth when data is added) and I know about rebuilding indexes when fragmentation is GT 30% and reorganizing indexes when fragmentation is GT 5% and LE 30%.

Since this is a non-production database maybe I should set the recovery model to simple, run the maintenance commands and leave the database in simple recovery model unless the vendor needs it in full recovery model for some unknown reason.

5. With the simple recovery model the log file should be reused in a circular manner and not grow during these maintenance tasks. Is this correct?

View 3 Replies View Related

DTS Wizard...help

Dec 23, 2006

I have downloaded SQL Server Express Service Pack 1, SQL Express Management, SQL Express Toolkit, as well at the DTS Wizard and installed all, looked for Program filesMicrosoft SQL Server90DTSBinn and it isn't tere, did a search on my cjomputer for DTSWizard.exe and cannot find it. Any suggestions? Thanks

View 1 Replies View Related

Dts Wizard

Aug 2, 2000

Here's the scenario: i've got Sql 6.5 server running on our network with about 6 databases.I have ran up another server on the network running sql 7,my
aim is to migrate from the 6.5 server all the databases...etc to the new server running SQL 7, is using the DTS wizard the best way for migration!!I have limited SQL experience and need some advice??I would be most grateful to all you sql gurus out there for any help

Cheers del.

View 1 Replies View Related

DTS Wizard

Apr 11, 2008



hi all,

i have a problem.. i tried installing Microsoft SQL Server 2005 Express Edition Toolkit so that i can have the DTS wizard to import my data. however, i have encountered some problem.

the following components that you chose to install are already installed on the machine. to view a report of available options and alternatives click on details
greyed out - workstation components and development tools 9.2.3042.00

therefore i can't complete the installation. anyone can help me?

thanks.

View 4 Replies View Related

SCD Wizard

Jun 21, 2006

I have created a dimension table for a star schema and included the following columns for treatment of historical changes:


[StartDate] datetime,
[EndDate] datetime,
[Current] varchar(5),
[IsInferred] bit
My Business key is code and the historical attribute is code_desc.

I run the wizard and nominate the Current attribute to be set to True or False. What should the type of this column be as it is not being populated ?

TIA,

Michael Morrissey.

View 1 Replies View Related

Upsizing Wizard

Oct 11, 2007

 I need to upload a very large access database to sql
2005.  Do I break this down by tables, queries or what?  Will
it take a long time.  I believe that database is 3488,888 kb in
size.   Thank youDee 

View 2 Replies View Related

Sql Wizard Error

Apr 4, 2008

Hi there
Apologies if I'm in the wrong post. I have a strange problem. I installed Sql Express Toolkit with the sole purpose to offer the import/export functionality in the Microsoft SQL Server90DTSBinn folder. After installation I did a quick test to make sure it works and it did. Suddenly now I get an error when I run the wizard file saying that it is not a valid win 32 application. I have a clean Windows XP S2 installation and definitly no virussus/worms etc. I have a simmilar problem when I try to run ASP.Net web starter kit files (.vss or something like that...)
PLEASE help me!

View 1 Replies View Related

SqlDataSource Wizard

Apr 23, 2008

Can anyone think of a reason for whilst configuring my SqlDataSource using the wizard in VS2005, when I click Advanced the Generate Insert, Update  and Delete Statements option is greyed out. Been using them plenty of times already elsewhere in the site, yet for no apparent reason it won't work on a couple of pages.

View 3 Replies View Related

DTS Wizard - Buggy?

Aug 11, 2005

Greetings,I have been trying to use the DTS Import Wizard to import data, but SQL Server seems to have a bug that Microsoft has not yet addressed (or have they?)Basically, when I import data from a text file into one of my existing databases that contains a field with an identity, I run into problems. Basically, SQL gives an error and refuses to import my data if the column is set to having an identity. In the Column Mappings, I set that row to "ignore." I also tried checking Enable Identity Insert, and I tried unchecking it. Nothing works. I receive this error message: "...The statement has been terminated. Cannot insert the value NULL into column 'MovieID', table 'myproject.dbo.MovieStars'; column does not allow nulls. INSERT fails."I thought that checking "Enable Identity Insert" would automatically tell DTS to insert an incremental identity value.When I use this transformation code, it doesn't work either:Function Main() DTSDestination("MovieName") = DTSSource("Col001") DTSDestination("MovieStar") = DTSSource("Col002") Main = DTSTransformStat_OKEnd FunctionThis gives me a different but similar error: "Insert error, column 1, ('MovieID', DBTYPE_I4), status 10: Integrity violation; attempt insert NULL data or data which violates constraints. Unspecified error"I think this is a SQL Server bug. My google searches have revealed MANY people with this similar problem, but their problem almost never gets answered. If anyone could please offer assistance, that would be great, as my head is turning black and blue from banging it on my desk for the past 3 days.Thanks

View 3 Replies View Related

Upgrad Wizard

Jun 8, 2001

very simple question but I do not know the answer.
Why I can not find the version upgrad wizard from my program -> sqlserver 7.0 ->?when it is installed ? How can I install this utility?
Thank you very much.

JD

View 1 Replies View Related

SQL 7.0 Upgrade Wizard

Sep 15, 2000

Chaps,

Im trying to upgrade to SQL 7.0 from 6.5. I currently have both installed on the
same machine in a switching enviornment.

I start the upgarde wizard and successfully get to the screen where you
enter the name of the 6.5 import server and 7.0 export server, I click next
and nothing happens (appart from the services stop and restart)!

Any ideas???

View 1 Replies View Related

Upgrade Wizard

Sep 21, 1998

On one of our test server I am trying to upgrade SQL Server 6.5 sp4 to SQL Server 7. The test server has a copy of all the live database systems and user accounts. I am using the Upgrade Wizard.

The process of upgrade stops after the following message

“Verify that code page ‘0’ is installed on your Windows NT Server”

I have no idea as to how I can over this problem. What I do know is that a code page can refer to character set. And that on the server I am upgrading the code page is 850 Multilingual.

Any help please.

View 1 Replies View Related

Import DTS Wizard

May 25, 2006

Hi...

Anybody out there who can help me on how to view the whole import process (DTS package created using Import DTS wizard) in SQL codes? Is there a possibility to view the process using Query Analyzer?

please help.

MyPast

View 1 Replies View Related

Upgrade Wizard

Oct 29, 2001

SQL2000

I'm looking for the upgrade wizard to port from 6.5 to 2000. I must be blind as I cannot find the damn files ...

Any assistance would be appreciated.

Thanks,

Craig

View 2 Replies View Related

DTS Wizard Prob...

Aug 12, 2005

Hi,

Having a problem with DTS Wizard crashing in XP, has anyone experienced similiar problems?

Using XP with SP1, transfering excel file to an oracle serve.

View 2 Replies View Related

Upgrade Wizard

Jul 23, 2005

Hello AllI have SQL Server versions 6.5 and 2000 installed on a Windows 2000server.I installed 6.5 first, coppied a backup of a database to the server andrestored it. I then installed 2000. I am trying to use the upgradewizzard.On the first screen I keep the default settings, export and importobjectsand data, use a named pipe. Its all on the same server, give it the sapassword for both installations (its the same). All services arerunningunder local system account.It switches between the two versions a couple of times then comes upwiththis error message:Couldn't create or register the SQLUpgrade DSNAnybody got any idea what it means?RegardsMatt

View 2 Replies View Related

Implementation Of SCD Without Using A Wizard

May 24, 2007

Hi,



Please someone tell me the procedure of implementing the Slowly changing Dimension without using a wizard.



Thanks,

Chandana.

View 5 Replies View Related

Msi Did Not Install ADS Wizard

May 10, 2007

I ran the msi file but thereis no ADS wizard on my programs list, even after a reboot. When I run it again it does a repair but there is still no program. How do I find the right cab file for my device (DellAxim X51 With WM2005)

Is there a way to identify the wizard in C:programs?

View 1 Replies View Related

Web Sync Wizard On XP Box

Jan 14, 2007

I have (finally) successfully gotten through the maze and 'published' my database to a folder:

Physical path: I:SqlReplication

unc: WarrenassocSQLReplication

Since I'm running XP pro, I don't have the options of assigning specific read/write permissions to a folder.

However it appears the problem is with accessing the snapshot and the logon's there.



When I run the IIS Web Configure wizard I error out at the snapshot share permissions step (see report below)

Wizard Settings:

Click Finish to perform the following actions:


Modify a virtual directory immediately.

Copy the ISAPI dll 'sqlcesa30.dll" to 'I:SqlReplication" immediately.

Set NTFS permissions immediately.

The virtual directory 'SqlReplication' will be configured with the following options:


On server 'WARRENASSOC'.

Use 'SqlReplication' as the alias.

Use 'I:SqlReplication' as the physical path for the virtual directory.

Use 'Anonymous' as the authentication method(s).

Do not require secure channel.

Set user permissions to 'Execute'.

Clients can use 'http://WARRENASSOC/SqlReplication/sqlcesa30.dll' as the Internet URL.

'sqlcesa30.dll' will be copied from 'C:Program FilesMicrosoft SQL Server 2005 Mobile Editionserver' to 'I:SqlReplication'.



'WARRENASSOCEd Warren' will get the following NTFS permission:


'Read & Write' on physical path 'I:SqlReplication'.

'Read & Execute' on the ISAPI DLL 'I:SqlReplicationsqlcesa30.dll'.

'Read' on share physical path '\WarrenassocI$SqlReplication'.

'Read' on the share '\WarrenassocI$SqlReplication'.





- Modifying the virtual directory (Rolled back)

- Copying the ISAPI DLL (Rolled back)

- Setting the directory permissions (Rolled back)

- Setting the server agent permissions (Rolled back)

- Setting the snapshot directory permissions (Rolled back)

- Setting the snapshot share permissions (Error)



Messages

The operation completed successfully. (Exception from HRESULT: 0x80070000) (mscorlib)


- Modifying the Virtual Directory configuration file. (Stopped)







When I created the snapshot I used my personal logon (admin rights) at each step

I've tried all combinations of setting the permissions in the wizard from requiring a login and providing my personal login to no requirements and I get the same error.



I'm trying to set up to copy a database from my SQL Server 2005 --> SQl Server CE 31 RC1

to see it it meet my development needs.

I'm at a loss as to how to navigate the security maze!!

Thanks Edward Warren.









View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved