Viewing 15 posts - 1,876 through 1,890 (of 6,679 total)
If the source definition for the column is varchar(20) - why are you trying to force that into a char(6) column? It sounds like the process to update the columnstore...
April 15, 2020 at 8:28 pm
It would be a manual process - unless the vendor turns on the non-clustered indexes. Remember, the idea is that you can create different indexes on the replicated database to...
April 15, 2020 at 8:22 pm
You could have the vendor modify the replication to include the non-clustered indexes for those tables you have identified - or you can add them to the replicated database.
Creating your...
April 15, 2020 at 6:03 pm
Thanks Doug, just checked a few and they all have a clustered, unique, primary key located on PRIMARY
So what indexes are missing? Review the table(s) on the source system...
April 14, 2020 at 9:30 pm
Maybe this will give you some ideas:
Declare @testTable Table (column_a int, column_b int);
Insert Into @testTable (column_a, column_b)
Values (10, 3)
...
April 14, 2020 at 9:19 pm
Thanks for making your time for reply Chris!!
Is this just a one way transfer of information, from Database1 to Database2, or is there a need to also send updates...
April 14, 2020 at 7:02 pm
So - you were using a restored copy of the database and these queries ran in an acceptable time. Correct?
Now - on the new replicated database the same queries take...
April 14, 2020 at 6:51 pm
It is still listed in the SQL Server 2019 documentation: https://docs.microsoft.com/en-us/sql/t-sql/statements/insert-transact-sql?view=sql-server-ver15
The point is that the IDENTITY values will be computed based on the order - but how that data is...
April 14, 2020 at 6:18 pm
Okay - you definitely have a problem with this script. In fact, I can see several issues...
This code:
IF DATEPART(HOUR, GETDATE()) = 7
SET @BackupType = 'FULL'
ELSE
SET @BackupType =...
April 13, 2020 at 9:48 pm
Something like this?
Declare @testTable Table (CombinedData varchar(100));
Insert Into @testTable (CombinedData)
Values ('Ace Master')
, ('Agreement (IRE)')
...
April 13, 2020 at 8:16 pm
We need to see the code - and how that code is selecting the databases to be backed up. I would suspect there is some criteria that is excluding those...
April 13, 2020 at 8:04 pm
I cannot help you without understanding the goal of your request. If you can answer why you need to do this and what problem you are trying to resolve -...
April 13, 2020 at 7:13 pm
Thanks for the reply Williams!!
Actually i am not sure it is that much complex to write a trigger to delete/update/insert when tables in database1 is changed need to automatically...
April 12, 2020 at 4:46 pm
Is the SQL Agent Job running from a sysadmin account - or a user account? If a user account then that account probably does not have access to the databases...
April 12, 2020 at 3:38 pm
Even worse - are you using INIT on the backup device for your differentials and transaction log backups? If so - then you are already at risk for significant data...
April 12, 2020 at 3:35 pm
Viewing 15 posts - 1,876 through 1,890 (of 6,679 total)