Error when trying to use @query parameter with sp_send_dbmail
Hi,I don't understand why I am getting an error when I try to run the following statement. I am a SysAdmin and so is the service account the agent runs under. I have tried selecting another table and...
View ArticleDTC escaltion Always On Availability Groups
Hello, I have been advised that there is an issue with Always On Availability Groups, where query's can be escalated to the DTC and cause the Groups to break. Is anyone aware of this. We are thinking...
View ArticleUpgade from SQL 2012 cluster Evaluation to enterprise
What I understand is that there is a restriction of upgrading a SQL server 2012 cluster from evaluation edition to licensed standard editon. Is there a similar limitation for upgrade from cluster...
View ArticleVery Slow SSRS Reports page and Data Source Pages.
Hey everyone,I have just migrated some reports and the databases to 2014, and I am finding that moving between reports, going onto the Data Source page and opening a data source ridiculously slow....
View ArticleDo the managed local accounts (virtual accounts) remove need for multiple...
I cannot get a consistent answer as to how many domain accounts would be suggested in a SQL Server 2014 installation. Previously the recommendation was a separate account for each service to provide...
View ArticleDelete Orphanes users from multiple databases- Challeging to change teh...
I have a requirement to delete all the orphans users for the databases. The issue I am having is with when database principal owns a schema in the DB, User cannt be dropped.How do I transfer it to DBO...
View ArticleDo You Have to Run an SSIS Package with Original Package Author Account?
I have some file processing SSIS package jobs running under SQL proxy. If I run them with myself as the proxy, everything is fine, but once I proxy a different account, no matter what permissions I...
View ArticleAlwaysOn HA - database stuck in initializing- after failover
HelloWe had to failover our primary db server for maintenance to our secondary replica. The primary was rebooted during maintenance.We failed back after the maintenance and one of the databases is not...
View ArticleHow to install Books Online?
Hi all,Unfortunately, I could not get Books online with my installation of SQL Server 2014. So I downloaded exe file from Microsoft site, which in turn unpacked a set of .cab file. And now what I can...
View ArticleAlwaysOn Secondary down -> Whole Cluster goes down
Hello everyone,We had a big issue today during maintenance work in our SQL environment. I hope you can help us out what we are doing wrong in our SQL environment.So our environment:- 2x SQL Server 2014...
View ArticleSQL Server chnages
Had a requirement to perform an activity on SQL Server where I bring down an application for an activity however SQL Server is up for backups.The activity starts once sql backups are completed andi...
View ArticleImport tables from Azure to premise database
We would like to import some tables from Microsoft azure data mart to our local database on the server of our premise for some purpose.Any one knows how to do that?Thanks,
View ArticleMy queries no longer work after upgrading to SQL Server 2014 from 2008 R2
Hi,I am running the below query, which joins multiple tables from different servers:[code="sql"]select job.Name from msdb.dbo.sysjobs_view job inner join msdb.dbo.sysjobactivity activity on (job.job_id...
View ArticleSmall logs opening in Management Studio several minutes
When i open small SQL Server Logs or Jobs history in SQL Server 2014 Management Studio they processing several minutes.In other SQL Server 2008 Management Studio in other computer this logs opening...
View ArticleSynchronize databases over a slow network
I'm thinking about what might be the best solution for a synchronization problem.The problem:I have one database called X. It's the source database for my data warehouse, but I can't touch this...
View ArticleAdvice on best approach?
Hi,I would really appreciate some advice on best approach here.I´m building a "report tool" where users can log in and register opening hours.The "end user"/website visitor will see a simple overview...
View ArticleCLUSTERED COLUMNSTORE
I have a large table with clustered columnstore indexhow I could deternime when it is necessery to rebuid it ?
View ArticleWhat can I do to speed up my production daily full-backup?
Current backup plan is a full backup every night, starting at 2am. Starts with system database backups, analytics database, and then the full production user database. After the job completes, log...
View Articledatabase mirroring for a large number of databases
I have a 2 node cluster having 4 cores each wherein having 3 instances of SQL 2008 R2 enterprise comprising of 60 databases, 20 on each instance. I need to setup mirroring for each of the databases to...
View ArticlePorting SQL Server info for DR
Hi allI am just wondering what would you backup/script out from an original server and keep it stored as a script.This script can then be used to quickly bring into production a SQL Server that might...
View Article