Viewing 15 posts - 5,941 through 5,955 (of 6,676 total)
cindy_sinath (11/9/2008)
SELECT Count(Lesson_CatId a) AS October_Total_Test, Count(Lesson_CatId b) AS...
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
November 9, 2008 at 10:46 am
This is good for a basic start. I would simplify this a little - for example, I would change the dynamic query to the following:
EXEC sp_msforeachdb 'Use ?;
INSERT INTO...
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
November 9, 2008 at 10:18 am
You need to lookup in Books Online the topics 'Recovery Model' and Backups. Basically, what you need is:
o Database in Full Recovery Model
o Daily Backups (2am)
o Hourly Transaction 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
November 7, 2008 at 5:23 pm
Matt Miller (11/7/2008)
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
November 7, 2008 at 5:04 pm
If you are running Enterprise Edition - you can use a database snapshot. As long as the snapshot is refreshed on a regular basis, you could then read 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
November 7, 2008 at 5:01 pm
Another option (which will require a downtime) is to:
1) Perform a transaction log backup (tail log)
2) Restore your latest backup
3) Restore transaction logs to point in time...
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
November 7, 2008 at 4:58 pm
Those services don't have to be on that server - can be on the web server or a separate application server. If you are seeing connection attempts every few...
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
November 5, 2008 at 7:53 pm
Yes, that is correct - if you are restoring master then SQL Server needs to be in single user mode.
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
November 5, 2008 at 4:48 pm
You can try looking in the default trace for the delete event for that table.
Here is an example query:
Select *
From fn_trace_gettable(@default_trace_file,Default)
Where EventClass In (46 ,47)
...
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
November 5, 2008 at 4:47 pm
Check for any application services that are trying to reconnect to SQL Server. Disable those services to prevent them from trying to log in.
However, are you sure you need...
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
November 5, 2008 at 4:36 pm
Unfortunately, I have absolutely no clue as to why this is being done. Are you really calling a procedure in one database, that needs to access data in another...
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
November 4, 2008 at 2:37 pm
Sorry - still doesn't help. If the users are executing a stored procedure - then it should not matter what objects are accessed by the procedure.
The only time 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
November 4, 2008 at 1:51 pm
John, sorry - but this question does not really make any sense to me. You cannot have a stored procedure that has a USE statement in it.
Second, why 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
November 4, 2008 at 1:25 pm
And, just to confuse the issue some more 😉
ANSI standard quoted identifiers is the double-quote - so, the following will work also (as long as you have not disabled quoted...
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
November 4, 2008 at 12:38 pm
GilaMonster (10/31/2008)
Bob Bridges (10/31/2008)
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
October 31, 2008 at 3:03 pm
Viewing 15 posts - 5,941 through 5,955 (of 6,676 total)