Viewing 15 posts - 601 through 615 (of 691 total)
Personally, I would go with multiple dbs on a single instance. I've never used multiple instances on a single machine, but I would imagine there would be a lot of...
June 2, 2004 at 3:12 pm
Yes.
You just need to qualify the name of the procedure...
exec UtilityDB.dbo.My_Stored_Proc
By the way, sp_help can be run from any database without being qualified because it is stored in the master...
June 2, 2004 at 3:05 pm
Thats why I said "Depending on how you are getting the value for the day of week"...
Try this...
declare
@date datetime,
@day_txt varchar(9),
@day_num tinyint
set @date = getdate()
set datefirst 7
select @day_num = datepart(dw, @date)
select @day_txt =
...
June 2, 2004 at 12:37 pm
Depending on how you are getting the value for the day of week, the datefirst function, which sets the first day of the week, could be affecting it. Take a look at...
June 2, 2004 at 11:36 am
Truncating the transaction log will certainly impact it. You are deleting transactions from the log without backing them up. It would be like taking a full backup, then tlog backup #1,...
May 27, 2004 at 12:07 pm
I wonder if you could use @@spid and dbcc input_buffer to get what you need.
Steve
May 25, 2004 at 1:16 pm
Its important to realize that in SQL Server, there really is no 6th or 7th specific record. The storage order is completely arbitrary. Wayne used an "order by" in his query,...
May 22, 2004 at 11:31 am
/*
First, copy your backup file to the new server.
I will assume that the folder is the same.
Then you can cut and paste this entire message into...
May 18, 2004 at 3:03 pm
No problem! It was driving me nuts, because I knew it was there, but I was looking for sp_makesys......!
Steve
May 15, 2004 at 7:42 am
Since I've never dealt with image data, this is just an "uneducated guess", but... what if you DTS'd or otherwise transferred the image data to a new database, then drop...
May 15, 2004 at 7:39 am
Try this:
EXEC sp_MS_marksystemobject 'sp_AddMergeArticle'
Steve
May 13, 2004 at 3:18 pm
Restore the database in which the dts package resides, but restore it to a NEW database using RESTORE ... WITH MOVE. Don't overwrite your database or the database files!
RESTORE...
May 13, 2004 at 2:37 pm
I spoke with my associate and she remembers the issue as well.
She recommends running all of the following:
DBCC UPDATEUSAGE(dbname)
DBCC CHECKDB(dbname)
DBCC CHECKALLOC(dbname)
I would add the DBCC CHECKTABLE(syslogs) as well, for good...
May 13, 2004 at 10:15 am
A transaction log backup will perform a truncate after backing up the log. Therefore, to keep your logs small, and have maximum protection, you should schedule regular transaction log backups...
May 12, 2004 at 3:52 pm
if @parm1 is null
begin
raiserror('null values not allowed, parm1 is null', 16, 1)
goto xit
end
-- at the end of the proc....
xit:
return 9
-- or some other number defined to your
-- client...
May 12, 2004 at 3:45 pm
Viewing 15 posts - 601 through 615 (of 691 total)