Here's a few of the new posts today on the forums. To see more, visit the forums.
|
SQL Server 2017 - Administration |
Suspend-ClusterNode -Drain && move-clusterGroup - Hello everyone , if I proceed to do a suspended from the main node of my cluster Suspend-ClusterNode -Drain Are all resources automatically transferred to the second node or I have to do Move-ClusterGroup thanks |
File Integrity Monitoring system and Database Server - Looking to find if it is a feasible idea to install FIM system on a SQL Server. It is a sensitive and highly transnational system and I dont feel comfortable. For people who do not know what FIM is please read the below link. https://en.wikipedia.org/wiki/File_integrity_monitoring It may end up messing stuff. […] |
SQL Server 2017 - Development |
Data quality improvement - Hi I am exploring ideas of improving data quality in new organisation i joined. The issue is it is not straight forward as to re-write things and improve as there are 100s of dataset we process every weeks. I checked few tables for basic checks and found about 40 tables with duplicates. They are actual […] |
SQL Server 2016 - Administration |
From SSMS, how to see the deleted records in output window - Hi I'm deleting rows from a table and I want to see them in output window. But I'm just getting like (2834 row(s) affected). How to see the actual records it is deleted? Is this possible from SSMS? |
SQL Server 2016 - Development and T-SQL |
trying to get all data to line up - Hello, first, thank you all who helped or took the time to look at my last issue, but now i got 1 more, and its a tough this time for me so my 2 tables are: declare @Employees TAble ( employeeID int, employeename varchar(256), Hoursworked decimal(18,2), PayrollDate date ) insert into @Employees(employeeID,employeename,Hoursworked,PayrollDate) values(1,'bob',3.0,'05/01/2019') insert […] |
Administration - SQL Server 2014 |
How to track an activity - Hi, A few days ago, I had a selected group of triggers disappear. I say selected because in a giving table only the same group of triggers disappeared and not others. Anyway, I know the date that this happened, is there any way that I can see if a script(procedure) was run and by who […] |
Development - SQL Server 2014 |
something wrong with the left join i think - i should get a few thousand rows back, but when i try pull in Duty Rates, i get hundreds of thousands. Thoughts? ;WITH cte_DutyRates AS ( SELECT DISTINCT ROW_NUMBER() OVER (PARTITION BY Year, HTS8 ORDER BY Duty_Rate DESC) AS RowNum ,Year ,HTS8 ,Duty_Rate FROM NAFTAXXXX.ITC_DUTY_RATES where Year is not null ) select top 200 […] |
SQL 2012 - General |
Deny Permissions to Schema Owner (assign read only) and deny to Linked Servers - We are running SQL Server 2012 SP4 EE on Windows Server 2008 R2 Standard. We had a developer who moved to another department. We would like to give the developer 'read only' access to the database before eventually disabling his account. We added the developer to the db_datareader database role. I want to make sure […] |
data file .mdf datetime stamp on windows file system when running DBCC CheckDB - I'm trying to find out what causes the timestamp to change on the data file when running DBCC CheckDB. I have confirmed that auto grow, auto shrink, open, close or a restart did not occur. What exactly would DBCC CheckDB be doing that it would need to change the date timestamp on the data file? |
Understanding the use of a CTE with MERGE - I'm familiar with CTE's which I have used a lot and I am somewhat familiar with the MERGE statement but I've never worked with these 2 together and now that we have recently (finally) upgraded to more recent builds of SQL Server I'm looking at something I need some help understanding. With the understanding that […] |
T-SQL (SS2K8) |
Convert Rows into Columns - Hello All, I'm trying to convert rows in table to columns as per the example i.e create one long string of data for every occurrence of ID column. Could anyone please help in achieving it in best way. /** Build up a Table to work with. **/ DECLARE @T TABLE ( ID INT NOT NULL […] |
Convert Rows into Columns - Hello All, I'm trying to convert rows in table to columns as per the example i.e create one long string of data for every occurrence of ID column. Could anyone please help in achieving it in best way. /** Build up a Table to work with. **/ DECLARE @T TABLE ( ID INT NOT NULL […] |
Reporting Services |
Grouping - Hi, I'm trying to create a report (using a Dynamics 365 Fetch) of all completed bookings grouped by week number, day and account. So far, I've got this: What I want is to group by week number, day name and account so that you expand the week number to reveal a list of accounts with […] |
Analysis Services |
I have a query mdx that where it doesn't filter - I can't find the reason because a query that has in 'with member' an attribute of a dimensio that is key does not filter with where, if I put another attribute that is not key if it works ?. Dimension FE6 FE6 is key (int) FE6b (int) Descripción (character) WITH SET [FILAS] AS EXCEPT([FE6].[FE6].[FE6].members, […] |
Article Discussions by Author |
Making Good Use of SQL Server Auditing - Comments posted to this topic are about the item Making Good Use of SQL Server Auditing. |