Here's a few of the new posts today on the forums. To see more, visit the forums.
|
SQL Server 2017 - Administration |
CI/CD on Azure - Data Factory - I'm having all sorts of strife trying to deploy a Data Factory (V2) from QA to Production. I'm guessing that there are plenty of people around here who have got their teeth into this. Would anyone be prepared to have a bit of an e-mail conversation with me about their experiences with custom parameter templates, […] |
Availability Group creation on SQL2017 only has 2 options - Hi, I want to create an availability group in SQL2017 with "Windows Server Failover Cluster". However this option is missing in the "Specify Availability Group Options" section. I can only choose EXTERNAL or NONE. Anyone who can point me to the reason why this is like this? :/ I have already enabled Failover Cluster feature […] |
SQL Server 2016 - Administration |
slower disk performance with VMWARE versus physical - Kind of open ended question but having issues with clearly degraded disk performance with our sql servers running on vmware versus physical. Anyone with past experience with this issue have any places to look? |
SQL Server 2016 - Development and T-SQL |
node 1 slower than node 2 - We have a clustered sql server, 2016 SP2/CU1, enterprise, with 2 nodes. There is a c# job running that spins off 200+ parallel processes which calls a large stored procedure. When node 1 is active, the calls to the stored procedure fail with timeout expired on a specific query (a select that we know this […] |
Subqueries - My Question is what is the best way to learn subqueries? And why are they referred to as dynamic queries? Thanks |
Add row number column based on id and stages - Hello Everyone I have a table with customer ids and different stages a customer can be in starting with A , B , C and D each starting at different dates Now a customer can be in multiple stages and I want to group them as below example (column rownum) Basically this determines the batch […] |
Administration - SQL Server 2014 |
How to randomly select 10% of the rows from a table - I need to extract randomly to select 10% of the rows from a table. Kindly advise how to write the t-SQL. |
Transaction Log Shipping (No direct link) - A vendor provides a service whereby they keep a database up to date daily utilising transaction logs. They configure Transaction logs at there end to backup to a location to which we can obtain these files. How would I set up the secondary database given that the primary and secondary can not see each other. […] |
Development - SQL Server 2014 |
redistribute by total dollar value (not by count) - Table X: Consumer bigint (PK) CurrentGroup bigint DollarValue money I want to redistribute records in the above table to 4 different groups (currently not in table X) equally by the sum of the DollarValue (not a record count). Table X can have up to 5,000 records with a dollar value ranging from $10.00 to $10,000.00 […] |
Extracting certain numbers from a string - Hi Guys, if object_id('tempdb..#Equipment') is not null drop table #equipment create table #equipment (Category varchar(20), ItemNumber varchar(30), ExpectedResult float) insert into #equipment (Category, ItemNumber, ExpectedResult) values ('Cable', 'CB1/03BAE300FT', 300), ('Cable', 'CB1/03BAE050FT', 50), ('Cable', 'CB1/04BAE100FT', 100), ('Cable', 'CB1/04BAE150FT', 150), ('Cable', 'CB1/04BAE025FT', 25), ('Cable', 'CB1/04BAE050FT', 50), ('Cable', 'CB1/04BAE075FT', 75), ('Cable', 'CB1/04CNN050FT', 50), ('Cable', 'CB10/5BAE1000FT', 1000), ('Cable', 'CB10/5BAE100FT', […] |
SQL 2012 - General |
Single Instance vs Multiple Instances - Hi. I have 22 databases with the exact same structure (1 per client). They range in size from 500 MB to 700 GB. Right now all 22 are on the same instance of SQL 2012. The resources are 170 GB memory and 12 processors. Environment is Hyper-V. All VMs are stored on SAN. All data […] |
SQL Server 2012 - T-SQL |
Table Function becomes slow - Hi folks, I have a 2012 sql and it works very fast, one of the most used queries is a table function. This function over time becomes slow and heavy. If I add OPTION (HASH JOIN) the function is again fast (maybe faster), but only for a couple of days. I leave you an example […] |
SQL Server 2008 - General |
Same Table Example - This is an oversimplified example of an issue I'm having. I'd like to not change the table #data. The error is the object already exists. Msg 2714, Level 16, State 1, Line 13 There is already an object named '#Data' in the database. IF OBJECT_ID('tempdb..#Data') IS NOT NULL DROP TABLE #Data IF EXISTS (SELECT 1 […] |
Reporting Services |
SSRS Expression Help - I need assistance with the following requirements: I need the font on my text to equal "DimGray" when IsRunning = "Processing" else if the MostRecent.Value > today = Red else Green. With what I have below, its making them all DimGray. =Switch(Fields!IsRunning.Value ="Processing" , "DimGray", IIF(Fields!MostRecent.Value >= TODAY(), "GREEN", "RED")) |
Integration Services |
SSIS Excel Import Error - Hello, I'm an SSIS newcomer, but, far as I can tell, have done everything correctly. In a nutshell, I need to search a folder for Excel files and bring them into a table on the server. I also need to add a SheetName field as well as a FileName field. These 2 fields are ready […] |