Viewing 15 posts - 451 through 465 (of 2,044 total)
Fun, database with thousands of tables and no foreign keys
February 28, 2020 at 5:50 pm
Things that are interesting in SQL 2019 are the accelerated database recovery and the new oracle driver for SSIS (preview)
February 27, 2020 at 3:03 pm
Also verify the host-configuration as the processor is virtualized (Common KVM) it must run on some host. Is power-saving disabled ? how are the resources distributed between VM's? Are the...
February 25, 2020 at 12:24 pm
You can try
Invoke-Sqlcmd -ServerInstance "$serverinstance" -database "Gestion_BO_Stats" -Query "exec SP_EQUITE_SANTE_CDC_Contrats" |export-csv -path "$path\SP_EQUITE_SANTE_CDC_Contrats_$((Get-Date).ToString('MM-dd-yyyy_hh-mm-ss')).csv"
as powershell variables are expanded when used between double qoutes
February 24, 2020 at 12:35 pm
How do you did it?
February 13, 2020 at 10:55 am
Why not rename the logins / logingroup with ALTER LOGIN ... to keep the same SID ?
February 12, 2020 at 12:40 pm
Can anyone recommend a powershell forum? Invoke-webrequest loses some of its parsing in powershell 6 (especially the forms part)
February 7, 2020 at 4:24 pm
Perhaps you can start with readcommited snapshot isolation instead of in-memory? The optimistic locking should reduce blocking from reporting
https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/sql/snapshot-isolation-in-sql-server
January 23, 2020 at 4:03 pm
I did have the same problem with excels exported from SSRS. Haven't tried to fix it beyond opening the excel and saving it again with excel
January 17, 2020 at 10:38 am
Which version of SSMS is it? because is has been decoupled from the sql server installation. 18.4 , ... ?
January 13, 2020 at 4:09 pm
--to be validated
--cte or tablealias for selfjoin
WITH TABLEDATA AS
(
SELECT ...
FROM TABLE_DATA
)
SELECT TYTD.COLUMNS, TMTD.COLUMNS
FROM TABLEDATA TYTD
LEFT JOIN TABLEDATA TMTD
ON TYTD.NAME=TMTD.NAME
AND TYTD.COMPANY = TMTD.COMPANY
AND TMTD.Flag='MTD'
...
WHERE TYTD.Flag='YTD';
--also possible
SELECT YTD.columns,...
January 13, 2020 at 4:06 pm
I use https://sqlserverbuilds.blogspot.com/ to track the latest builds.
You can also use https://www.sqlservercentral.com/articles/sql-server-build-lists or https://sqlserverupdates.com/
For 2016 it is SP2 + CU 11
January 9, 2020 at 11:04 am
Didn't get much improvement with the current Oracle OLEDB driver. Even with balanced data distrubutor.
The new microsoft oracle connecter is promising (SQL Server 2019 CU1+).
Processing speed goes up from...
January 8, 2020 at 3:59 pm
We try to implement them every 2 months. First a testing period of 1 month in dev and acceptance. So far the updates didn't break anything
January 3, 2020 at 11:38 am
Viewing 15 posts - 451 through 465 (of 2,044 total)