Viewing 15 posts - 1,486 through 1,500 (of 6,676 total)
In SQL Server 2017 and higher - you can use STRING_AGG...and Informix has LISTAGG: https://www.ibm.com/support/knowledgecenter/SSGNPV_2.0.0/com.ibm.db2.luw.sql.ref.doc/doc/r0058709.html
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
December 12, 2020 at 5:08 pm
You cannot change the time when that process runs - but you can disable the process that removes log entries and perform that step manually.
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
December 12, 2020 at 5:03 pm
If you are using the Excel connection as a destination - it expects to find a file with the specified name in the directory. If that file does not exist...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
December 10, 2020 at 10:20 pm
I don't see anything in your query that needs to be done dynamically - can you show the actual code you are attempting to create as a dynamic query and...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
December 10, 2020 at 8:45 pm
What do you mean by row number? How is that column created and populated - is it really an identity column? If it is really an identity column then the...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
December 9, 2020 at 9:36 pm
Jeffrey - We are using availability groups. I am not at a high enough level to know how to do that using triggers or an agent job. Any help...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
December 8, 2020 at 10:24 pm
For AG's - you need to build a script that adds the database to the availability group. This may be something that can be done using automatic seeding - depends...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
December 8, 2020 at 10:22 pm
What replication technology are you using now? Is this an availability group - or something else?
If availability group, then you would need to add each new database to the availability...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
December 8, 2020 at 9:27 pm
You want to take a final tail-log backup on the 2008 system at cutover...this will be the final log file for the database(s) and will take the database offline (so...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
December 6, 2020 at 6:16 pm
The agent job runs under the context of the owner of the agent job - or the service account if the owner is a sysadmin. Verify the owner of the...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
December 6, 2020 at 6:09 pm
Without further information or detail - I would recommend modifying your query to return just the levels needed. For example - your query would filter based on the input parameter...returning...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
December 3, 2020 at 8:17 pm
Not much for us to go on - not sure how to help diagnose a problem when I cannot see the problem. As a guess - whatever you added is...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
December 3, 2020 at 4:39 pm
It is not possible to port a snapshot - because the snapshot is entirely dependent on the source database. The snapshot only contains the delta changes that have occurred in...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
December 2, 2020 at 7:03 pm
Interesting - earlier you showed that your scalar function ran significantly faster than your inline...I was just curious as to why that would be the case and thought maybe it...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
December 1, 2020 at 10:21 pm
No wonder mine is faster. SQL Server managed to parallelize my function. With MAXDOP 1 my function runs in 1600 ms and Jeffreys in 1100 ms.
I don't have SQL...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
December 1, 2020 at 9:11 pm
Viewing 15 posts - 1,486 through 1,500 (of 6,676 total)