Here's a few of the new posts today on the forums. To see more, visit the forums.
|
SQL Server 2017 - Administration |
What is going on with my rebuilding index job? - We migrated a major server to a new cluster. Installed SQL Server 2017 and set up all of the nodes and the AGs. After a couple of months, we started seeing an occasional blocking of jobs in the morning. The indexoptimize_user_databases job was still running. We put in some code to kill the job at […] |
Transaction Log (Waitype=Replication) - Hello all, I have an issue with my growing transaction log. When I query the log_reuse_wait_desc we found that it is pending for "replication". I have both transactional replication and CDC enabled at the same time. It means that it is actually sharing the same log reader agent. We are not sure which exactly the […] |
SQL Server 2017 - Development |
Dynamic query based of business rules - I hope you are well. I need your help and advice on a repetitive task that I would like to automate. Every month my manager asks me to run a series of SQL queries based on the same table and columns. I thought I could create a rules table that would allow him to create […] |
TSQL query not working properly against Full Text Index - Hi, I've been having this issue for quite some time and need some help to understand it. I am not sure if this is an "expected behavior" or, as the user is indicating, an issue that needs to be fixed or corrected somehow from MSSQL. This query suppose to return two rows SELECT * FROM […] |
SQL Server 2016 - Administration |
memory leaks sql server 2016 Ent - Good day) I'm sorry for my English server 2016 Ent I have a problem with memory leaks SELECT sqlserver_start_time, physical_memory_kb/1024/1024 physical_memory_GB, committed_kb/1024/1024 committed_GB, committed_target_kb/1024/1024 committed_target_GB, visible_target_kb/1024/1024 visible_target_GB -- stack_size_in_bytes/1024/1024/1024 stack_size_GB FROM sys.dm_os_sys_info(nolock) physical_memory_GB =1023 committed_GB = 874 I try to freeproccache, buffercache, but this dont't help, only restart service help solve this problem for a […] |
Row Level Security - Enabled but not Filtering - ...this is a 2nd attempt to post, as I can't seem to find the 1st from the day before... I'm trying to implement row-level security in SQL Server 2016 but am getting stuck. Below is the code being used for the predicate function, security policy and an intermediate table. From what I can see, […] |
SQL Server 2016 - Development and T-SQL |
Insert query help - I have a table with the following data ( sample) Col1 Col2 Col3 Col 4 A AA ABC ALL B BA BBC A C CA CCC ALL I need the result as follows Col1 Col2 Col3 […] |
Query help on Pivoting on two columns - DECLARE @RegionCounts Table ( TYear char(2), Region varchar(30), RowCnt int ) Insert into @RegionCounts values ('13','Latam',100) Insert into @RegionCounts values ('13','NOAM',200) Insert into @RegionCounts values ('14','Latam',300) Insert into @RegionCounts values ('14','NOAM',400) select * from @RegionCounts I need the out put as [13latam] , [14latam], [13NOAM], [14NOAM] as column headers with corresponding values under it. |
Administration - SQL Server 2014 |
Replication - Stop transactional replication steps, Step 1 Stop Log Reader Agent Local publication folder and then right click a publication Click View Snapshot Agent Status or View Log Reader Agent Status Click stop Step 2 Expand SQL Server Agent folder and then expland Jobs folder Click Stop REPL-Distribution Job Let me know if I am missing any? How long […] |
Development - SQL Server 2014 |
Query containing while loop for dates taking increditbly long - Hi All, I'm hoping to get some insight to an issue we're experiencing with a query in an SSIS package, which has been taking ages to complete. It takes about 3 hours in our Dev environment, and progressively longer as we've tried deploying to the upper environments. We thought as first, it might have to […] |
SQL Server 2008 - General |
retrieve all .rdl files from report server - Is there a folder on the report server that houses all of the .rdl files for all of the reports. We need to add all of them to TFS. Was hoping we dont have to go through them one at a time. |
T-SQL (SS2K8) |
Help Needed in sql row to column - Hello, Below is my sample data with data as ( select 1 as ID,'Apple' as ProductName,'1' as serving, 'g' as unit union all select 1 as ID,'Orange' as ProductName,'2' as serving, 'mg' as unit union all select 1 as ID,'Pinapple' as ProductName,'1' as serving, 'g' as unit union all select 2 as ID,'Apple' as ProductName,'1' […] |
Reporting Services |
Issue with labels in a pie chart - I have the following issue with labels in the pie chart: In the preview of Visual Studio the issue doesn't exist but if I save in pdf then I'll find the error inside the pdf. Please, there is someone can help me? It's urgent... |
Continuous Integration, Deployment, and Delivery |
Response to Bloor article on SQL Provision - I found the article https://www.sqlservercentral.com/articles/bloor-scores-sql-provision-4-5-out-of-5-for-test-data-provisioning Interesting if a little shallow. It would be more convincing if it did some A-B comparisons with major competitors (e.g. Delphix, Actifio, Denodo and Rubrik and probably others). |
Third Party Products |
Idera SQL Compliance Manager, not showing events?? - Trying to test this out for work, to see if it might work for some of our monitoring requirements (security-type stuff, not performance) and I've got it up and running in a lab environment. But. The console isn't showing any events, despite me generating events it should be reporting (failed logins, etc) I've got it […] |