SQL Agent Job
I am looking to see if there is a better way that SQL Agent job to finish job1 and then kick of the job2 after it finishes the Job1, I have 10 hr maintenance window, before the next business day...
View ArticleUpgradation of sql
I want to upgrade SQL 2012 to SQL 2014 where the databases are configured in replication , what is the procedure to upgrade ?
View ArticleHow to change cluster time out setting.
Hi,We configured 2 node cluster. Every early morning 1 am the secondary node is coming out from fail over cluster membership.We had a deep dive on this issue and it seems that while firing the Veeam...
View ArticleCopy database
Copy database is failing with time out expired. Is there a way to increase the time out period for copy database to different server? The db size is 15GB. I know the recommended size to copy database...
View ArticleIndexing and trimming options for very large heap table
I am pretty new to this, so my apologies for any SQL-related misstatements and confusions.I have inherited an application that dumps events into a table with the following structure:recordid (bigint,...
View ArticleIs it possible to change an Audit to show up as a warning in App Log instead...
The project I'm working on requires us to audit the database instance for various events. Role changes, permissions changes, database object changes, etc. We configured the Audit to write these events...
View ArticleInstalling Office (Excel) on database server - security conserns
Hi,Is there any security issues to consider, if installing Office on a database server, The question is not regarding cost, stability or features, but about which damage can be done with, e.g.,...
View ArticleDatabase Corruption
Got the below error on our database on day 1Msg 8992, Level 16, State 1, Line 1Check Catalog Msg 3851, State 1: An invalid row (class=12,depid=0,depsubid=0) was found in the system table...
View ArticleSystem Memory
I have system (win2012 r2) with 32GB, out of which 26 is allocated to SQL Server 2014 EE, I ran system perfmance report that gives me warning of excessive paging, My question is how do I identify if...
View ArticleLimit Size of Tables
I'm looking for a way to put a cap on the size of newly created tables or adding data to existing tables. I do not want the developers to be able to create/grow a table larger than xGB. A trigger at...
View ArticlePermissions
I have user needs permission to be able to create,modify,delete tables and views in particular database. I know db_owner would be the option. Checking if there is any option other than db_owner role?
View ArticleDB Mirroring
As a part of application upgrade process, it would create bunch of objects and the data insertion would be made. We have replication and DB Mirroring configured.I am not expecting this would cause any...
View ArticleMigrate SQL Cluster nodes from Physical to Virtual (VMware)
We are planning to virtualize few SQL cluster environments(FCI) as part of data center migration. What are the best options for this move with planned downtime or minimal downtime.Environment: Windows...
View ArticleCompare two tables from two different SQL servers
Hi,I have two SQL servers both running 2014. My objective is to check if a field (Username) in Server A Table tbl_Users exists in Server B Table tbl_Users. If there is a match then append current date...
View ArticleDeadLock its own Process
Getting 100+ deadlock by same process and on sp_executesql. Can experts shed some light on why this is happening.<deadlock> <victim-list /> <process-list> <process...
View ArticleMirroring issue, no role switching
I sat up last summer a mirrored instance of our main databases. In the last two month, we had twice issues on the main server and the roles never switched. I have little logs and no idea why it didn't...
View ArticleDeleting rows in SQL 2014
Hi,in a stored procedure, amongst other things I have some code to delete a user based on their user ID. This proc is called from a C# application I am writing. It worries me when deleting records...
View Articleusing Resource governor on Always on High Availability SQL Server 2014
Hi All, I Am currently working on a project to implement Resource governor on our Database servers, we are running SQL server 2014 in AlwaysOn High Availability. i have all this configured on Node one...
View ArticleMirroring
I have database mirroring configured from Server A(principal) to Server C(mirror). However, i am thinking to do another DB mirroring from Server B(Principal). Is it okay to configure mirroring from...
View ArticlePrelogin packet SQL 2014 SP3 CU2
I hope someone can help me with this. I am getting the below error my SQL Error log:The prelogin packet used to open the connection is structurally invalid; the connection has been closed. Please...
View Article