Viewing 15 posts - 436 through 450 (of 692 total)
John,
A transaction log file is like a bucket. If the bucket gets full, you don't have to throw it away and get a new one, you just empty it. If...
August 13, 2004 at 9:42 am
Antares686,
You are absolutely right. Thank you for catching that!
Steve
August 12, 2004 at 2:41 pm
You must start SQL Server in single user mode to restore master by using startup parameter '-m'
Steve
August 12, 2004 at 2:27 pm
This should speed it up (assuming views 2 and 3 have the same selection criteria as view1) ...
CREATE VIEW dbo.else_vw
AS SELECT UnlockID, dbo.TrimUser(UserCode) AS UserCode, ExpiryDate, Frequency, Attempted, LastAttemptDate,...
August 12, 2004 at 2:03 pm
I would use a computed column for that.
create table #sales
([id] int,
item varchar(30),
cost money,
quantity int,
total as cost * quantity)
insert #sales
values (1, 'widget', 1.99, 6)
select * from #sales
--...
August 12, 2004 at 1:15 pm
I don't think you'll get around the multiple log files issue using a restore. You'll either need to use your scripts to load the initial db as well, or what...
August 12, 2004 at 12:46 pm
If the table has a clustered index, just rebuild it. If not, create one, then you can drop it. The data is stored in clustered index order, so building or...
August 11, 2004 at 1:27 pm
How many 'I B M' s do you have? Can you do a visual check to be sure no
' SANDI B McCOY ' or ' I B...
August 11, 2004 at 1:25 pm
Several years ago, we were using Arcserve to backup a 60GB SQL database on one of our servers, not my idea and I protested it at the time. It so happened that...
August 11, 2004 at 10:56 am
You can register a 6.5 server in 2000 EM, you just can't connect and manage it. You will at least be able to see that the server is running.
Also, You...
August 11, 2004 at 10:34 am
Carl,
Here's a script that I already had in my archive. It goes the other way, but you should be able to tweak it to get what you need.
Steve
declare
@date datetime,
@num int,
@result int,
@txt2 varchar(9),
@txt1 char(3),
@txt3...
August 6, 2004 at 12:30 pm
Here's a snippet from Brian Kelley's article from yesterday, "SQL Server Auditing - Part 1".
DECLARE @AuditLevel int
EXEC master..xp_regread
@rootkey='HKEY_LOCAL_MACHINE',
@key='SOFTWARE\Microsoft\MSSQLServer\MSSQLServer',
@value_name='AuditLevel',
@value=@AuditLevel OUTPUT
SELECT @AuditLevel
Brian is talking about retrieving...
August 6, 2004 at 9:26 am
No, the only backup that truncates the transaction log is a transaction log backup. You'll be ok doing fulls and diffs.
Steve
August 5, 2004 at 10:41 am
Not an hour before I read this article, I was staring at a script in query analyzer, trying to figure out how I was going to import the current SQL error log...
August 5, 2004 at 10:02 am
Perhaps I'm missing something. Why would your log shipping fail when your full b/u kicks in? The log backups will still be in sequence, as a full backup does not...
August 5, 2004 at 9:26 am
Viewing 15 posts - 436 through 450 (of 692 total)