Quantcast
Channel: User SQL_DBA_Bini - Database Administrators Stack Exchange
Browsing latest articles
Browse All 19 View Live

Comment by SQL_DBA_Bini on Which method is better to drop all user...

I came cross some article suggested that set offline the database is better to drop all the connection than changing to single user mode. I always use changing single user mode. but I never set offline...

View Article



Comment by SQL_DBA_Bini on Which method is better to drop all user...

how to stop application or block access. Last time when I want that happen I had to ask the application owner to stop it. Is there a way I can stop It with out asking them?

View Article

Comment by SQL_DBA_Bini on Running SSRS and SSAS from different server than...

Now all the data ,cubes and everything are on server 1 d: drive. when we separate the server. Is going to be the data on server 1 d: drive where as the cubes and report builder stay on server 2 lets...

View Article

Comment by SQL_DBA_Bini on How to migrate SSAS and SSRS from SQL Server...

@Dave The cubes need to be in SSAS and SSRS is in native. I have never moved SSAS and SSRS to different server. can you direct me to some articles or document helps me to understand how to deploy .

View Article

Comment by SQL_DBA_Bini on How to get an exclusive connection in AutoRestore...

thank you I corrected paul full name. It is not used in replication or logshipping . It works perfect

View Article


Comment by SQL_DBA_Bini on My Ola Hallengren nightly backup job failed but It...

staring recently one of the database refreshed from prod server at the same time. I changed job schedule time. Now it works fine

View Article

Comment by SQL_DBA_Bini on Problem generating restore scripts for multiple...

@AaronBertrand No I didn't look in the backup tables. The number is generated when the Adventureworks2008 backed up. Yes it was a different database AdventureWorks2008R2

View Article

Comment by SQL_DBA_Bini on Problem generating restore scripts for multiple...

I am restoring form old backups which is located on different directory (D:\Backups) than the current backups( E:\Backups). When I pass the old directory ,@FromFileFullUNC = 'D:\Backups\' in exec...

View Article


Comment by SQL_DBA_Bini on Problem generating restore scripts for multiple...

I am using SQL Server 2008R2 ..when I run your script it gave me the following error. Msg 195, Level 15, State 10, Line 546 'CONCAT' is not a recognized built-in function name.

View Article


Comment by SQL_DBA_Bini on SQL Server Agent job fails to run SSIS package,...

@AliRazeghi...I can't expand the error log. but The error in system/app log is Package"Packagename" faild. Event ID 12291.

View Article

Comment by SQL_DBA_Bini on SSIS package Job problem

@MguerraTorres thank you for the link i read it ,but it didn't help my issue.My problem is why it run less than a minute when I run it from SSIS repository consistently but when it run the scheduled...

View Article

Couldn't restore database and couldn't change Single user mode to Multi user...

I am unable to restore a database. The database is stuck in single user mode. I cannot change to multi-user mode.I was restoring the SQL Server database from Prod to Dev as I have done many times...

View Article

Running SSRS and SSAS from different server than the primary database...

Right now both SSRS, SSAS and SQL Server Engine are on the same server. We are using 2008R2 Enterprise. We are thinking to upgrade to SQL Server 2012 or 2014. and We want put on separate serve the SQL...

View Article


How to get an exclusive connection in AutoRestore job ( sp_RestoreGene)?

I am using Paul Brewer's script for AutoRestore sp_RestoreGene on SQL Server 2008R2 box. I created the stored procedure dbo.sp_RestoreGene on the Server 1 where the backup file is located.I called the...

View Article

Image may be NSFW.
Clik here to view.

How to implement Ola Hallengren backup plan on the server for some databases...

I recently implemented Ola Hallengren Maintenance solution on all of my production servers(SQL server 2005,2008,2008R2 and 2012). It works great.My problem is how to implement Ola Hallengren backup...

View Article


Create a job that sets Auto Update Statistics on

I am using SQL Server 2012. The vendor wants Auto Update Statistics set to false, but my boss wants it set to true.If I set it to true, after a while it goes back to false by itself. I think the vendor...

View Article

How to upgrade SQL Server 2008 R2 RTM to SQL Server 2012 SP3 on the same...

We want to upgrade SQL Server 2008 R2 to SQL Server 2012 sp3 on the same server A. The SQL Server 2008 R2 is on Windows Server 2008 R2 Standard and it has six user databases. First we will upgrade...

View Article


Ola Hallengren backup failed

I have been using on my SQL Server 2008R2 server Ola Hallengren solutions for almost two years. Last night backups failed, both System databases and user databases with error below.Example of system...

View Article

Unable to restore database backup because it is accessed by other connection

--first commanduse masterGo-- second commandALTER DATABASE MyDB SET SINGLE_USER WITH ROLLBACK IMMEDIATE Go -- Third commandRESTORE DATABASE [MyDB] FROM DISK =...

View Article
Browsing latest articles
Browse All 19 View Live




Latest Images