SQL2008R2 - restoring from UNC path to split UNC paths
Hello everyone.I have a DB of 800GB+ that I need to restore to another server. We don't have another server that can take a DB of that size. The DB is in two file groups.The Dev server I want this DB...
View ArticlePrivilages to view datasource properties
Hi, is it possible to add privilages for non sysadmin user to view datasources in job properties?We have developer team, and they must chceck connections string in jobs (when sql job run SSIS you can...
View ArticleTransparent data encryption
Hi All,Can a TDE database be viewed / hacked by a login with sysadmin pemissions ?Assume some dba got access to a backup file of a database on which TDE is enabled or got access to the MDF and LDF can...
View ArticledbWarden questions
Hello -- I am trying out the dbWarden application by running it within the 2008 Standard R2 SQL Studio application. It appears to have executed successfully, but I am having trouble identifying and...
View ArticleUnable to open SQL Config Mgr, WMI error
I got a WMI error from SQL Config Mgr after I ran sp_dropserver and sp_addserver commands. Various posts suggested I run mofcomp command. I did this, and got these errors:I ran it using admin...
View ArticleSQL server with instance name point to new SQL server
Hello,need your genius minds on this, I am tested, but, i read online and not sure if it has been confirmed.If I have a SQL server 2008 R2, SP3, windows 2008, no firewall on, instance name is...
View ArticleIs it necessary to manually start the full-text index population after...
I have the code below, where a full-text index is created with auto-tracking. In the subsequent statement population is manually started. Is that 2nd step necessary? It seems redundant, as creating the...
View ArticleIs there any query available for scripting out all linked servers ?
Hi All, We are migrating SQL 2008 instances to SQL 2014. Looking for help regarding Linked Servers. Is there a way to script out all linked servers along with passwords? Appreciate if anyone can help....
View ArticleMonitoring function performance stats
SQL 2008 and up has sys.dm_exec_procedure_statsAs of 2016, we now have sys.dm_exec_function_statsMy question - is there a way to achieve what's in sys.dm_exec_function_stats in a pre-2016 SQL? Is there...
View Article2008 R2 SP2 Install fails with no messages
I'm installing SP2 on my 2008 R2 servers and it has gone well for the most part. However, I have one machine that is giving me fits. If I run the SP2 install executable, it unpacks and I see a DOS...
View ArticleWhat to do IN RECOVEY and lock database in the same time does not allow to be...
Dear Colleagues,I have moved a Database (1.5T) to a new server, same version (2k8r2), detached and attached, ok.After a few days I restarted the instance, now my database is in IN RECOVERY stat
View ArticleSQL script or application that checks what databases have or have not been...
Hello --We have a fairly large number of user databases that are subject to full, differential, and log backups. The various backup jobs that we have do a good job, via their respective log files, in...
View ArticleSQL Server Backup failed... did NOT record failure in sql server log?
We DO have TraceFlag 3226 enabled. However, as I understand, it only suppresses successful backup events?We are using Commvault agent to run backups on our SQL 2008 R2 box.A backup failed early in the...
View ArticleImport DB from MS SQL 2012 to from MS SQL 2008
Hi,Can anyone shed some light on how to import MS SQL 2012 Database Structure to MS SQL 2008 with sequential dependency order?Regards,Samuel
View ArticleSQL SCript for Backup Compression
hi, i am planing to implemnet new backup plan for my databases with compression. can any one share the script to shedule as a job in sql server backups with compression
View ArticleDatabase Backup Issue
Hello All, I'm running SQL 2008 R2. I have an intermediate issue with my backup for this one database. Some days the backup completes successfully with no problem and other days - could be 3 or 4 in a...
View ArticleFinding culprit for ongoing TempDB growth
A couple of weeks ago, our TempDB size went crazy, claiming more than 100GB of space within about a week. It has continued to steadily grow ever since, until it finally set off a disk free space...
View ArticleSleeping COMMIT transaction blocking
Hiyesterday a simple update was run against a table, which should have updated 3 rows in a table, executed from SSMS, running under the default, Read Committed isolation.
View Articleweird issue? green arrow disappear
I have been using SQL Server 2008 SP2 for 2 years and didn't face that, today I upgraded to SP4 and noticed weird thing.If I try to add a job and refresh the SSMS explorer , the green arrow will...
View ArticleHow to login windows server 2016 without MySQL, when i lost administrator...
Hi all,Here I need for help by a problemI lost Password Administrator on window server 2016 but i can login SQL server by user sa on client.How can i get password to login window?How can i login to...
View Articlenet workable merge replication error
i am trying to make a merge replication between tow network connected pcsit gives me the demonastrated errors in job historyjob history it stopped in step3 "detect non logged agent shutdown"String or...
View ArticleShould I create a Staging Instance or Staging Database on the same Production...
Hello All,I currently manage a data processing department for a Marketing firm and we deal with TB's of data.We manage multiple lists (Databases) per client based on consumer address etc etc , so I do...
View ArticleRestore backup from SQL 2017 to SQL 2008
Hi. There is a lot of post about my question, but I have little different problem. We have an SQL Server 2008 R2. And full backup taken from SSMS 2017. When I want to restore it on SQL 2008, there is...
View ArticlePhysical copy of datafiles and then restore it
Hi. My .mdf files are in disk E:. I want to restore database, which .mdf file is more than 1TB. But there isn't enough space and when admins add space, it says that disk is MBR and I cannot add space,...
View ArticleLog file doesn't clear after backup
I have two databases on a sql server 2008 r2 instance that are mirrored to a second server. I do backups on the principal server daily as well as an incremental log file backup. I expect the log file...
View ArticleDatabase size issue.
Hello All,I have SQL Server 2008 Express edition installed on server. It has two database. One database (say "A" has database size around 10 GB) and other is around is around 7 GB. I have already set...
View ArticleBackup whole instance SQL Server 2008
Hi. Is there a was to take backup of whole instance (databases, logins, jobs, etc.)? I have an instance where a lot of little databases and a lot of users. And know we must migrate it to SQL Server...
View ArticleInstance crashes with error on Tempdb with error code 3316, 3314, 3349
I am getting a strange problem at SQL instance (Version Microsoft SQL Server 2008 R2 (SP3-GDR) (KB4057113)). Server restart unexpectedly with following error:Error: 3316, Severity: 21, State: 2. During...
View ArticleUse central management server to check job failures on all registered servers...
Hi I am looking for help on how to use CMS to check job failures on all the registered servers and email the results.Thanks in Advance!
View ArticleSQL Server performace when attaching a Database
Hello all,I'm involved in a project that requires a 1TB database to be migrated to a new SQL 2008 instance. I've successfully copied the existing data/log files to new storage, but attaching the...
View ArticleSQL Server SSIS Packaage Error Code 1073741819.
Dear All, We have faced the following Error Recently in SSIS Package Scheduling. Error Code : The step did not generate any output. The return value was unknown. The process exit code was -1073741819....
View ArticleSQL Server 2008 R2 - hotfixes and cumulative Updates
Hello,We currently have SQL Server 2008 R2 with this version number - 10.50.6560.0 (SP3).How can I find out what cumulative updates are needed or hot fixes? The following 2 links from Microsoft...
View ArticleOS + SQL Server binaries on same drive?
Hello everyone, My question deals with best practices. When installing SQL Server 2008, should the OS and SQL Server binaries be installed on their own separate drives even when the System Databases...
View ArticleMaintenance Plan jobs failing
Hi, over the past 2 months, I have started to receive the following email alert error on one of my database maintenance plans.I have a few other maintenance plans that were setup the same and are still...
View ArticleIndex fragmentation not cutting down to 0
hey people, I am a db trainee at my work n i was trying to execute the reindexing maintenance scripts manuallly on a databases.. When i run alter index all on one of the index (which is unknown index...
View ArticleRCIS and PAGLOCK
I've read that on https://docs.microsoft.com/en-us/sql/t-sql/queries/hints-transact-sql-table?view=sql-server-2017PAGLOCKTakes pa
View ArticleActivity Monitor not starting, always being paused
I am running SQL2008 Server Standard edition on Server 2008 x64. When I try to run the Activity Monitor in Management Studio I get the following error: [b][i]The Activity Monitor is unable to execute...
View ArticleChange DB recovery model from Simple to Full
Hello!I need to change Database recovery model from Simple to Full.Currently, Full backup is scheduled for everyday at 12 AM.Once I change the DB to Full, let the scheduled Full backup to run and then...
View ArticleIntegration Services
I install SQL 2008 R2 on a server. Integration Services works just fine on server. If I try to connect to it remotely unable to connect. Not sure what is wrong here been researching for two hours and...
View Article