Viewing 15 posts - 361 through 375 (of 6,678 total)
For clarity - unless you are also performing differential backups then a regular full backup is the same as a copy only backup. The reason you want to take a...
November 28, 2022 at 9:55 pm
Yes - transaction log backups are not dependent on anything in a full backup and can be applied to copy only or non-copy only full backups. What you cannot do...
November 28, 2022 at 6:03 pm
You should also look into page compression for those tables - not sure if that is available in 2012 for all versions, but if so it could save a lot...
November 28, 2022 at 5:49 pm
Much easier to just use a FULL OUTER JOIN:
SELECT
SNO = COALESCE(S1.SNO, S2.SNO)
,S2.[NAME]
,S2.PRODUCT
,S2.AMOUNT
...
November 27, 2022 at 4:45 pm
If you knew there were specific objects that were candidates - you could have specified only those objects in the criteria. That would capture every time one of those objects...
November 27, 2022 at 4:14 pm
Since backups on a secondary node must be copy_only backups - you have to make sure copy only is set. Once you do that - Ola's utility will look at...
November 26, 2022 at 4:57 pm
Assuming SNO is the unique identifier - use an outer join to the old snapshot and filter on any of the columns that have changed.
SELECT n.sno
...
November 25, 2022 at 4:08 pm
Unless I am missing something - you are trying to use an extended event to scan all SQL text executed on the instance and filtering that down for code running...
November 25, 2022 at 3:51 pm
When you add additional files to a file group - SQL Server uses a proportional fill algorithm. You can review further here: https://learn.microsoft.com/en-us/sql/relational-databases/databases/database-files-and-filegroups?view=sql-server-ver16
The ideal scenario is to have files all...
November 24, 2022 at 5:19 pm
The documentation shows what permissions are granted: https://learn.microsoft.com/en-us/sql/relational-databases/security/authentication-access/database-level-roles?view=sql-server-ver16
As for changing system objects - no.
From the above documentation sp_dbfixedrolepermission displays permissions of a fixed database role.
November 24, 2022 at 4:55 pm
Yeah, but in the actual question the OP asks for those students that turned in the assignment for all dates.
November 23, 2022 at 12:58 am
You do need an outer join with the dates students are expected to have turn-ins in order to accommodate a very naughty class that has conspired with each other...
November 22, 2022 at 8:17 pm
I think all that is needed for this is a GROUP BY and HAVING count(*) = 3. If you need it to be dynamic - then you need to determine...
November 22, 2022 at 7:07 pm
Regardless of whether you have an AOG listener, you can connect directly to either the primary or secondary using a connection string similar to that below. If connecting to...
November 22, 2022 at 5:49 pm
If someone hacked your system - they probably did not get access to SQL Server through the account running SQL Server. That account is a virtual account and will be...
November 20, 2022 at 5:20 pm
Viewing 15 posts - 361 through 375 (of 6,678 total)