Viewing 15 posts - 136 through 150 (of 2,051 total)
Please use
INSERT INTO dbo.PrimaryHist (columnlist) SELECT
instead of INSERT INTO dbo.PrimaryHist SELECT
in case columns get rearranged
November 16, 2023 at 11:11 am
Have a look at UPDATE triggers with #inserted #deleted to compare differences
https://stackoverflow.com/questions/19737723/log-record-changes-in-sql-server-in-an-audit-table
there are gotcha's if you use IF UPDATE(...)
The UPDATE() function does not discriminate whether the value has changed or not,...
November 3, 2023 at 10:19 am
November 3, 2023 at 10:13 am
If you get blank pages when exporting to pdf , something is getting outside your margins.
Take a copy of the report and work on it till it fits back in...
October 26, 2023 at 10:08 am
IndexOptimize: are you only updating statistics ? or also doing index maintenance (you may skip index maintenance)
The name resemples Ola's
There is a third scenario, where you can only update statistics, using...
October 19, 2023 at 10:21 am
As you mention it is splitted across pages, something must be overflowing the page size.
You could try rectangles to keep things together.
October 16, 2023 at 11:16 am
Please provide some T-SQL statements tabledefinition , the sampledata and expected results based on that sampledata.
So we can copy paste & execute it in ssms without typing.
October 12, 2023 at 12:14 pm
That's a big jump, somewhere around sql 2014 the optimizer plan generation changed.
Have you tried different compatiblity modes?
Have you checked https://www.sommarskog.se/query-plan-mysteries.html
*edit*
as you are on SQL 2019, have you enabled querystore...
October 12, 2023 at 11:30 am
Scripting: using dba-tools https://docs.dbatools.io/Find-DbaInstance.html
October 6, 2023 at 9:31 am
System administrators usually have an inventory tool
You could start with the Microsoft assessment toolkit https://www.mssqltips.com/sqlservertip/7428/microsoft-assessment-and-planning-toolkit-inventory-sql-servers/
Scripting: probably using wmi
October 6, 2023 at 9:29 am
Consider the latest version of sql server to upgrade to. Depending on your acceptance cycle it will have matured out at the end.
Upgrade to 2019: stable. Will be out of...
October 2, 2023 at 9:46 am
http 500 = internal server error
Check the report server configuration, is there an url configured?
Check the various logs for clues
October 2, 2023 at 9:32 am
Kakavotas7, consult the people who created the database if you want the meaning. Could be a hardcoded value or a reference to another field / parameter table
September 29, 2023 at 7:47 am
You could try convert(binary(32),'text',1)
DECLARE @Myvalue5 binary(32)=convert(binary(32),'0x0000000000000000000000000000000000000000000000000000000000002000',1)
SELECT @Myvalue5
CAST and CONVERT (Transact-SQL) - SQL Server | Microsoft Learn
September 28, 2023 at 3:12 pm
Viewing 15 posts - 136 through 150 (of 2,051 total)