Viewing 15 posts - 1 through 15 (of 506 total)
Try creating the view eliminating the views and running directly against the tables
July 18, 2021 at 10:37 pm
My suggestion is to create a separate database and insert the changes periodically into tables in that database using tables one for each temporal table. I would produce the report...
July 4, 2020 at 2:55 pm
XML output with xsd file could be used to present data in a table. https://www.w3schools.com/xml/schema_example.asp
May 25, 2020 at 2:58 pm
Can you identify the query holding the lock so it can be optimized? It won’t be possible to give useful advise without more information. Once the query is isolated I...
May 25, 2020 at 2:49 pm
USE test
GO
IF Object_id('STKTraceItemBatchAttribute', 'U') IS NOT NULL
DROP TABLE STKTraceItemBatchAttribute;
GO
CREATE TABLE STKTraceItemBatchAttribute
(
TraceableItemID int
...
January 3, 2020 at 2:55 pm
If I have a table:
CREATE TABLE EMP
(
ID int
, NAME varchar(50)
, TITLE varchar (20)
...
December 18, 2019 at 1:32 am
Are the users authenticated using integrated security or seperate sQL Server accounts or does the Access application connect using one SQL Server login or application group?
December 17, 2019 at 9:07 pm
How are the users of the access database authenticated in SQL Server?
December 17, 2019 at 8:33 pm
You need a "table" with the months with the range of months.
drop table if exists sales;
create table sales(DateOfSale date, Price smallmoney);
insert into sales values('20190802', 45),('20191015', 45);
with months...
November 17, 2019 at 2:13 pm
The best performance would be to create 4 procedures, 1 calling and 3 for each contingency. Each of the 3 would have an execution plan optimized for the workload.
August 23, 2019 at 12:59 am
Good points ZZartin. To do a more thorough analysis you could persist that data by collecting it into a user table. Dm_db_index_usage_stats is the a good place to start in...
August 19, 2019 at 5:02 pm
Try running these commands at the command prompt on the new server:
msdtc -uninstall
msdtc -install
Then restart the SQL Server Service
August 19, 2019 at 3:21 pm
If you have 0 or low numbers in the columns user_seeks and user_lookups, and to a lesser extent, user_scans, then the index isn't very helpful. The column user_updates logs the...
August 19, 2019 at 2:57 pm
Research [sys].[dm_db_index_usage_stats]. It has information on usage.
August 15, 2019 at 8:38 pm
Viewing 15 posts - 1 through 15 (of 506 total)