Viewing 15 posts - 61 through 75 (of 2,648 total)
I would use EXISTS instead of IN
update m
set val = 'TEST'
from #MDM m
where exists(SELECT 1
...
October 31, 2024 at 12:56 am
Try running the data transfer in multiple parallel sessions in SSMS, using chunked INSERT INTO ... SELECT queries. Open two or three SSMS windows, and in each, execute a separate...
October 26, 2024 at 11:13 pm
Jeff,
The "url" link to the excellent article at the beginning of this discussion isn't working. I believe it should point to https://www.sqlservercentral.com/articles/hidden-rbar-triangular-joins, but only you have the ability to update...
October 22, 2024 at 1:32 am
First and foremost, stop dropping and rebuilding indexes, I don't care how bad the fragmentation is. Even 90% logical fragmentation makes little difference. What DOES make a difference is...
September 30, 2024 at 11:08 pm
I think it is a typo, they probably meant to type '-- = inv.tblSoftware'
Which would mean that inv.tblSoftware is just a comment for clarity, describing something about the...
September 21, 2024 at 8:45 pm
I think it is a typo, they probably meant to type '-- = inv.tblSoftware'
Which would mean that inv.tblSoftware is just a comment for clarity, describing something about the insert operation.
September 21, 2024 at 1:11 pm
Setup some test data
CREATE TABLE TestCardData (
s_Result NVARCHAR(255),
s_credit_card_type NVARCHAR(50),
s_credit_tran_type NVARCHAR(50),
c_amount DECIMAL(18,...
September 16, 2024 at 11:06 am
.
September 11, 2024 at 1:39 pm
You could use NULLIF or SET ARITHABORT OFF; SET ANSI_WARNINGS OFF;
SET ARITHABORT OFF;
SET ANSI_WARNINGS OFF;
DECLARE @x as int = 1,
...
September 11, 2024 at 1:38 pm
I used to be a front-end Developer... that's why I don't rebuild indexes all the time ... The page splits that came after the rebuilds would slow down the...
September 11, 2024 at 10:24 am
I've written the script in the link above query and am using it. I've found that for a few of the of the rows it occasionally reports negative statistics. i.e....
August 28, 2024 at 7:03 pm
It's difficult to say without seeing the actual query.
You could insert the data into a temporary table, create helpful indexes on the temporary table, then query the temporary table. So...
August 28, 2024 at 2:25 pm
To date, I'm the least impressed with BING AutoPilot and Claude 3.5 Sonnet. I'm especially disappointed in Claude 3.5 Sonnet because it doesn't seem to provide references like the...
August 26, 2024 at 7:35 pm
SQL Server uses memory to cache data, if you don't set a maximum it is likely to use all the memory on the machine, including memory required by the operating...
August 23, 2024 at 8:42 pm
We are adding Java BigInteger support and hence we need underlying database to support this. Oracle supports this and has no issue. I assuming SQL Server's BIGINT is equivalent...
August 19, 2024 at 7:20 pm
Viewing 15 posts - 61 through 75 (of 2,648 total)