Viewing 15 posts - 2,251 through 2,265 (of 6,676 total)
Create a proxy account that has the necessary rights/permissions to perform this function. Permissions need to be defined in SQL Server and the file system - and a proxy account...
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
June 26, 2019 at 6:22 pm
FWIW - I use an extended event on my system to capture any queries that take longer than 2 seconds to execute. I have the extended event set up to...
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
June 26, 2019 at 5:01 pm
If you have embedded characters on one side - comparing will not be equal. You need to remove those characters for the match to be valid.
I would think you would...
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
June 26, 2019 at 4:46 pm
If you performed a backup/restore - the new file that was created during that process will be minimally fragmented (file system). This does nothing for internal index fragmentation (of course).
You...
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
June 25, 2019 at 6:24 pm
It really isn't a good idea to put backups on the same drive/location as your data/log files. Not only will that cause performance issues - but if you lose that...
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
June 24, 2019 at 7:33 pm
You can use CROSS APPLY for this:
Declare @clinicID int = 500;
Select *
From #TItems ...
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
June 23, 2019 at 3:47 pm
Is this what you are looking for?
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
June 21, 2019 at 7:07 pm
What utility is used to load the data? If it is SSIS then you can control the batch/commit sizes on the OLEDB Destination so the transactions don't grow the log...
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
June 21, 2019 at 6:50 pm
I think you are looking in the wrong place - SSMS does not access files on the server to run any reports. You need to look at permissions on your...
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
June 20, 2019 at 6:20 pm
You can do this all in a single assignment:
Declare @cases Table (id int, ApplicationStatusEntityID int);
Insert Into @cases (id, ApplicationStatusEntityID)
Values (1, 3)
...
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
June 19, 2019 at 10:43 pm
It isn't clear from the sample data - what is your expected results?
I think you are looking for either an outer join - or a recursive CTE...here is an example...
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
June 19, 2019 at 10:06 pm
You don't need to convert to XML to perform the split:
Declare @testSplit Table (
ID int
...
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
June 19, 2019 at 8:40 pm
Is the Java app calling a stored procedure to load the table - or is it all embedded code in the application?
Why is this process failing and why is that...
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
June 19, 2019 at 7:29 pm
Setup a proxy account using the domain windows account added to your DBA group. Then set the job steps to run using that proxy account.
No need to change the service...
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
June 19, 2019 at 7:11 pm
The stored procedure that is used by the maintenance task checks the file(s) to be deleted are from the instance where the job is running - and validates the files...
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
June 16, 2019 at 3:48 pm
Viewing 15 posts - 2,251 through 2,265 (of 6,676 total)