Looking for best way to summarize some data - Hi all, Hope i'm posting this in the right place, if not, please let me know. I have a table like this: [code...
restore/Attach not working as expected - To All, I have done many restores or attaches of db's and yet this particular one is not working as it...
AlwaysOn Availability Groups Failover. - Hi, I'm in the process of setting up an AOAG cluster. This is my first time doing this, so I'm definitely...
Regulary delete and rebuild of table influences perfomance? - Ahoi, Situation: i have a table with around 40 million rows and a clustered primary key set by IDENTITY(1,1). Theres regulary deletes and...
SQL Server 2016 Standard Edition - help - I need to encrypt my database and I have the standard edition SP1. With the standard edition I cant use...
DelimitedSplit8k and Performance - I am working on taking data out of an ERP system and into a data warehouse. One of the unfortunate...
Can anyone explain why this isn't populating the two desired columns? - Hi, Please see the below query. When executing this query I find two derived columns and [Candidate Second...
Compare comma separated values - Hi, let's say I have this: DROP TABLE IF EXISTS #CSV CREATE TABLE #CSV (ID INT NOT NULL, LIST VARCHAR(30) NOT NULL ) INSERT...
Wht is the best way to load 15 million rows into a table with a pk? There are known duplicates. - Good morning, I have a table that needed a Primary key on the table id column (tableID int). The table has...
How to spread an invoice tax across invoice lines without loosing rounded remainder in a view? - I have a view, which shows Invoice Details table. This view is used to print invoices to the customers. In...
update table: PK or unique idx? - Hi, There's this table with 300000000 rows and about 40 columns the pk consists of three fields massive updates are made on...
Die whitespace, DIE !! - Hi all, Trying to delete some white spacebar as follows... /****** Object: Table . Script Date: 04/06/2018 22:43:46 ******/ SET ANSI_NULLS ON GOSET...
How do you do select and update together that actually works? - Right now under company information profile when I click save button it goes through this code: Dim RS As Recordset Dim...
Primary key incrementation - Hello, I know from Microsoft Access when you enter any value in any column it automatically adds a new row and...
xp_create_subdir for non-sysadmins - Hi, Is it possible for non-sysadmins to run xp_create_subdir on the Express version of 2008 R2? When researching the subject I...
Staging FIXML Data into SQL 2008 - Hi Guys, Anyone has experience with FIXML data? One of the vendors sent us a fixml file that we need to...
detect if previous record is higher or lower ? - In it's simplest form if I had a table that stored a persons name, date that the record was entered,...
Replication - Missing Data in Subscribers - I have a strange issue going on intermittently with one of our SQL servers. The setup we have is: 1. 1...
Mismatch or data overflow on MySQL Link Server - I try to Insert some records to my remote MySql from my SQL Server. The MySql is connected as Link server. The...
Installing sql 2005 using "disk1" and "disk 2" - Someone copied the contents of the sql 2005 cd's into folders caled "disk 1" and "disk 2" on a server. ...