Insert failed due to fk conflicts.
H,A trigger is fired after an insert action on a table that has an identity column, and the trigger inserts into another table @@IDENTITY will return the identity value of the first insert.But...
View ArticleInstall SSAS and SQL on an Active-Active Cluster
HelloI have to install SQL 2014 and SSAS on a 2-node FCI and I'd like to have SQL running on one node and SSAS on the other one so I can accomplish an Active-Active Cluster.Is there any ste-by-step...
View ArticleSQL AlwaysOn with multiple instances per server + Replication network
Hi,I want to setup SQL AlwaysOn. Resources: SQL1 SQL2For me it is unclear whether it is possible that SQL AlwaysOn can work with mulitple Instances per server. Each database should be placed in his...
View ArticleSneding Connections to a Listener to a ReadOnly node by default
Hi All,I'm using SQL Server 2012 with Always On. I've sucessfully set up Read Only routing and applications that are using the ApplicationIntent=ReadOnly falg in the connection string are being...
View ArticleREPLICATION ERROR 22022
Dear all,Please find the following error. I really don't have any idea how to troubleshoot & what is the cause of this error. Please give me detailed description to troubleshoot. I really...
View ArticleLOGSHIPPING
Dear DBA's This week I started working on SQL Servers for the first time ever. One of my tasks was to set up log shipping to our new DR Site that is a few miles down the road. For the most part log...
View ArticleREPLICATION
Dear DBA's Please check the following screenshots and help me to troubleshoot the issue. I configured Transactional replication on 2012 server, the distributor was configured successfully and I...
View ArticlePerforming Database backup while database in use (insert/update/delete)
I know I've read that you can easily perform an "online" backup. My question is how are changes handled to the live data while a backup is being formed.Example is 20 people update tables or delete...
View ArticleSQL Server 2005 High Availability and Disaster Recovery options
Hi, We are are working on a High Availability & Disaster Recovery Planning solution for an application database which is on SQL Server 2005. What different options have we got to implement this for...
View ArticleActive/passive policies
My Organization want me build two node cluster Active/passive windows server 2012,sql server2012 multiple instances node1=active,node2=passivei have created cluster ,installed sql server....but the...
View ArticleInstalling SQL server AlwaysOn in hybrid solution
Hi,I am trying to build a HA solution with SQL 2014 and AlwaysOn. My setup is 3 servers on prem and 1 server in Windows Azure with site-to-site VPN in between. My idea is to use the Azure replica as an...
View ArticleSQLSERVER 2012 LOAD BALANCING
Hi Friends,I want to inquire how I can configure sqlserver 2012 for "LOAD BALANCING" thank you.regards,asadasad
View ArticleRestoring master database from management studio
How to restore master database from SSMS? is it possible? if yes, what is the procedure.I knew that how to restore from sqlcmd.
View ArticleFile size when using FULL recovery mode
Hi everyone, I have set up a AlwaysOn cluster with one database. The database 20 GB. I have two disks, the MDF file is on disk 1 (50 GB) and the LDF file is on disk 2 (20 GB).Before the AlwaysOn...
View ArticleMulti Site SQL High Availability group
Hi,We have our primary Data Centre where we have 2 MS SQL 2012 Enterprise Servers and 2 SharePoint 2013 Enterprise servers. We have SQL High Availability group implemented on our primary Site (Site...
View ArticleAlways On Client connectivity
WE have few questions related to client connectivity and URL Routing List with Always ON 2012upgrade of every client connecting to 2012….? Do they need all to have .NET Framework installed.After...
View Articlereconnect Mirror
I have SQL 2008 Entermirror DB was synced and connected ,suddenly it has a synced and disconnected there is no "resume " option , only remove mirrorI tried reconfigure security , although it...
View ArticleR2 recover from Corrupt SQL Server
Now i am searching any tool, which recover all over data MDF file and R2 from SQL server.DECLARE @DBName VARCHAR(64) = 'databasename' DECLARE @ErrorLog AS TABLE([LogDate] CHAR(24), [ProcessInfo]...
View ArticleUPDATE QUERY can't update table
Hi,During 1500-2000 concurrent users, DB Transaction locks occur. So that Update query can't update table and we get inconsistent data. How can we avoid this inconsistent data?? Why we get transaction...
View ArticleDBCC Checks with Always On Availability Group
Hello Folks,We have SAP running on SQL Server. We have configured HA using Availability Groups with Listeners. Since SAP is HA aware and works on listener based Always On Configuration, it gives us the...
View Article