Here's a few of the new posts today on the forums. To see more, visit the forums. |
SQL Server 2017 - Administration |
Availability Group - Planning to setup AG group between 4 replica's and 3 are located in the same DC and a DR node in different DC. Between Primary and SR1 it would be synchronous commit for Automatic failover and HA option. Primary Replica - Full, Diff and Log backups & Maintenance Jobs etc. Secondary Replica 1(Synchronous commit) - […] |
SQL Server 2017 - Development |
improvement suggestion - Im breaking my head on this. It runs in 2 ms but just has high reads n cpu sometimes. What can be done to improve or optimize --select top 10 * from firm_master order by 1 desc --select top 10 * from BOOKING order by 1 desc declare @Firmid varchar(20), @Bookingid nvarchar(max), @StartDate nvarchar(30), @EndDate […] |
SQL Server 2016 - Administration |
Controlling Access to Always On Read Only Replicas - We currently use Always On Availability Groups on SQL Standard. One of use customers has expressed interest in real time reporting and I'm exploring the option of upgrading their instance to SQL Enterprise to enable read only access to the secondary replica. They intend to connect with PowerBI to the database. I've read that we […] |
SQL Server Agent issue - I am running into an issue and hoping to get some help. Every time I reboot my server, SQL Server service and agent starts automatically. I see that the Agent is running but when I run a job or any job, I get this error (See screenshot below). I then restart the SQL agent and […] |
SQL Server 2016 - Development and T-SQL |
Return incorrect numeric value - Hello, I have make this query to return the max numeric value from the right for adding +1 : SELECT CAST(Isnull(MAX(REVERSE(SUBSTRING(reverse(Ltrim(Rtrim(cod))),0,CHARINDEX ('-',REVERSE(Ltrim(Rtrim(cod))))))),1) + 1 as varchar)[NextNumber] From QNC (Nolock) Where qnc.cod LIKE 'NCREC-CL'+'.'+'CMP' + '-'+'%' --This Return : 10 that is incorrect, the correct value must be 11 --if i modify my query and Group […] |
Administration - SQL Server 2014 |
how to checkf if SQL Server CPU/RAM has bottleneck - how to checkf if SQL Server CPU/RAM has bottleneck? thanks! |
service broker endpoint in disabled or stopped state - I had posted a thread some time back and since that didn't lead anywhere, trying to find answers again. Have a alwaysOn group to host sharepoint (SP) databases. SP was set up to use the cluster name for connection. But we noticed that when the failover occurred SP still pointed to the previous primary. So, […] |
SQL 2012 - General |
Signatures embedded in XML field ? - Hi I have a table with a signature embedded in an XML field. I wanted to write a SSRS report to display the signature. Does anyone know where I can look for how to/if I can display the signature? Thanks |
SQL Server 2012 - T-SQL |
How do I get the XSD for an XML field on a table? - Hi, I need to get the XSD for an XML field on a table. I know I can take the XML and generate the XSD online. But is the XSD for the field stored in the DB and how do I get to it? Would the one I generate be the same as the one […] |
SQL Server 2019 - Administration |
SQL Server 2019 on linux - memorylimitmb vs. max server memory - Short question: What relationship does the memorylimitmb value (from /opt/mssql/bin/mssql-conf get memory) have with SQL Server's "max server memory" value? Long story: We have a new instance of SQL Server 2019 web edition running on linux. The linux environment has 64G RAM, the maximum amount allowed for web edition. Once the server was under load, […] |
Unable to force Queryplan in QueryStore, failure 8695 - The queryplan looks forced but it's not used. Looking in "sys.query_store_plan" it says last_force_failure_reason = 8695 and last_force_failure_reason_desc = 'GENERAL_FAILURE'. The code 8695 doesn't seem to be documented anywhere (not even MS as far as I can see). Anyone knows better? Thanks alot in advance |
SQL Server 2019 - Development |
Question on BCP - I have been looking everywhere, and cannot find anything on this . Can anyone tele me if you can used BCP and xp_cmdshell to insert data from one table to another? and if this can be done please let me know where I can get information on this. Thank you |
SQL Server 2008 Performance Tuning |
Same queries different client - I have a Siebel CRM with Sql Server back-end database (Sql server 2008 R2 but the database has compatibility Level 80 (Windows 2000)). Each Siebel client is Windows XP with a front-end installation. The client pc has access to the back-end database through ODBC (Sql Server 2000). All of the clients suddenly slow down a […] |
General |
How can I let system use more CPU and RAM of SQL Server ? - I have a system, when I perform one function (nobody uses this server), it works very slow, but I check the SQL server database(SQL server is 2005 ) CPU Utilization rate is about 15%, and RAM usage is low 6.5GB, the total RAM is 16GB. why the CPU and RAM utilization rate is so low? […] |
SQLServerCentral.com Announcements |
Email Issues - 23 Mar 2021 - We are experiencing some email issues with our provider, apparently from SPAM reports and filters. Since we are entirely opt-in and do not purchase any emails, we hope this is a misconfiguration that is resolved quickly. |