Here's a few of the new posts today on the forums. To see more, visit the forums.
|
SQL Server 2017 - Administration |
problem Deadoolk in my instance - Good morning all I reset a deadlook problem every 10 minute Who can help me please optimize the execution of these requests Please find attached the execution plan of my request select FMENV.ENVIDX as IDX, 3 as Entity, FMBATCH.BATLOGNAME as FM_Batch, FMENV.ENVIDX as FM_Document, FMENV.ENVLOGNAME as Name, FMENTPROP.EPRCUST19 as FM_ID_Client, FMENTPROP.EPRCUST09 as FM_Checking, FMCATEGORY.CATDESC […] |
Connecting to SQL 2017 with SQL Server Driver from Windows 2012R2 - Hi we have a legacy application that connects from the application servers (Windows 2012 R2) to the SQL servers using the SQL Server driver. This work fine against an old version of SQL, but we're upgrading to SQL 2017, and it no longer connects. You can connect from Windows 10 using the SQL server driver. […] |
Most accessed tables/indexes - This is a generic question to know more about SQL server performance.Nobody has complained of any performace issues on our servers, but there is an agenda to know the existing performance and how that can be improved upon. What are the metrics that need to be captured to identify a baseline for a sql server […] |
SQL Server 2017 - Development |
GROUP BY with SELECT SUM - Why is this not working? Field 'EmpNo' not contained in either an aggregate function or the GroupBy clause SELECT EmpNo, SUM(Time1) AS TotalTime, Dept, Job, Description, Rework FROM TimeData2 GROUP BY EmpNo |
SQL Server 2016 - Administration |
sql 2016 alwayson question about failover - Hi guys, i have this question. we have 2 sql 2016 standard with some databases replicated with basic alwayson. So last night the primary server crashed (BSOD and reboot) and the secondary sql has started the failover. This morning i have done a manual failover to move again the DB on primary server. i have […] |
SQL Server FC 2016 on Windows 2016 - Random Cluster Failure - Hi, For about a week my cluster is failing. It starts with event log: and immediately: After that is down the drain. One of the nodes freezes, SQL instances/roles are green but inaccessible. The server isn't releasing them unless, I just turn it off. This is when the roles migrate. It is not hardware as […] |
Licence SQL server Edition developper sous une machine EC2 - Good morning all Can I take advantage of the fact that the SQL develop license is free to install it on EC2 AWS machine?Is the use of SQL developing ON EC2 AWS free thank you for your clarification |
Administration - SQL Server 2014 |
Shutdown order for nodes in AG and quorum disk - When shutting down the whole farm environment with two nodes in Failover Cluster/AG, my thinking is to shutdown secondary first and then primary. When bringing up, start with primary and then the secondary. What I noted was when the secondary was brought up first and then the primary, the databases synced and AG dashboard showed […] |
Development - SQL Server 2014 |
How to Structure Data table/fields when using Multiple Select Drop Down - Hello, I am interested in using a multi-select drop down on an application interface and am looking to understand how to handle this at the database level to (1) Store the data, (2) Query the data. Below is an example of the concept. I have a drop down with multiple check boxes that asks, "Please […] |
Sql query - Projected Monthly Revenue - Hi, I've been sitting with a projected revenue query for sometime , trying to figure out the best way to do this. Basically, I'm trying to get a monthly revenue number based on daily shipment totals. eg: Total Rev MTD $88,720 / 9 days = $9,857 * 23 shipping days = $226,731 as Monthly Project […] |
Clone a table from a script - I have a table schema in an exported .sql file (text). Is there any way to use that to create an identical table (with the name changed of course)? The file was created using script table as -> create to -> file. TIA |
SQL Server 2019 - Administration |
Encrypt/Decrypt issue - Version :Microsoft SQL Server 2019 (RTM-GDR) Followed these links as underneath: https://www.mssqltips.com/sqlservertip/2431/sql-server-column-level-encryption-example-using-symmetric-keys/ https://www.surekhatech.com/blog/column-level-encryption-and-decryption-in-mssql I created 2 tables. For the first table I inserted individual rows (with encryption as in the links) and when I did a decrypted select.The result came out perfectly.No issues.The result showed the original password column,encrypted password column and then the decrypted […] |
SQL Server 2019 - Development |
Help with non-clustered index fragmentation - I'm trying to rebuild indexes to clear some heavy fragmentation in the nonclustered indexes. I've tried ALTER TABLE dbo.POHeader REBUILD and ALTER INDEX idxPOHeader_EntryDate ON dbo.POHeader REBUILD Neither affects the index fragmentation. What is the correct method to resolve this. |
Reporting Services |
Printing from generic SSRS report - I have a generic SSRS report that contains some text and bar codes. I wish to print it but when I try to export it to PDF the bar codes are replaced by the strings they represent. When I right click on the report and try to print, I get all of the surrounding info […] |
Integration Services |
VS 2015 deploy to SQL 2019 - Hi We just had a SQL upgrade (SQL 2019) in our dev server and our SSIS solutions no longer work. We are using Visual Studio 2015 and the solutions run fine locally from within VS. Is there a compatibility issue between VS2015 and SQL2019? I can't find much on the web. In VS, the solution […] |