Viewing 15 posts - 5,956 through 5,970 (of 7,505 total)
- start sql-profiler to capture a sample load and examine it for table and or index scans.
- do you have db-maintenance-jobs in place ? to reduce fragmentation
January 23, 2007 at 7:14 am
- for the data-part the is no difference for 32 or 64-bit OS / SQLServer
- however if you are using the CLR, I guess it would be nice to avoid...
January 23, 2007 at 3:56 am
- I wouldn't advise a trigger for this purpose ! (start job) because if the start job fails, your transaction fails !
- I woudn't advise a trigger for this purpose...
January 23, 2007 at 3:46 am
this could be your test-script ....
print '00 Creating dbo.test';
go
create table dbo.Test (col1 int not null )
go
print '01 inserting rows into dbo.test';
go
insert into test values(1);
go
print '02 Selecting from unqualified table test';
go
select...
January 19, 2007 at 12:55 am
I guess that's what the "true" parameter is for in
use exec sp_changedbowner 'sa', true.
You can use sp_changeobjectowner @objname = 'oldowner.object' , @newowner = 'newowner'
January 18, 2007 at 1:55 am
making this #é&() mistakes, you can immagine the rest of my day ![]()
![]()
January 18, 2007 at 1:12 am
Still early on the day ![]()
SELECT BS.database_name
, BMF.physical_device_name
, BMF.device_type
FROM msdb.dbo.backupset BS
INNER JOIN msdb.dbo.backupfile BF
ON BF.backup_set_id = BS.backup_set_id
INNER JOIN msdb.dbo.backupmediafamily BMF
on BMF.media_set_id = BS.backup_set_id...
January 17, 2007 at 12:57 am
SELECT BS.database_name
, BF.physical_name
FROM msdb.dbo.backupset BS
INNER JOIN msdb.dbo.backupfile BF
ON BF.backup_set_id = BS.backup_set_id
WHERE BS.database_name = 'MyDB'
January 17, 2007 at 12:24 am
- If you're using a "sqlserver maintenance plan", it will optimize _all_ objects of the selected databases.
- verify that they don't drop and recreate their tablesat runtime ! because then...
January 17, 2007 at 12:16 am
- your sqlserver-serviceaccount or your sqlagent's (if you're using a job) need read-auth for the .bak-file
- you as sql-user ... you need to be at least db-creator or database-owner...
January 17, 2007 at 12:10 am
This is one of the enoying things where they use actual "work"-tables in stead of #-temp-tables.
So the create them on the fly, use them and drop the at the end...
January 16, 2007 at 1:45 pm
use exec sp_changedbowner 'sa', true.
Keep in mind this is one of the flaws of EM. You'll have to disconnect an reconnect to see the correct results.
January 16, 2007 at 1:36 pm
If you want to restore using EM, you'll need to have the backup-file(s) at the server itself.
If your bak-files are on a remote location, you can use e.g. QA and...
January 16, 2007 at 1:32 pm
check http://www.databasejournal.com/scripts/article.php/1496451
to apply the rename of your windows server in your sqlserver instance.
According to my biztalk-admin changing the biztalksettings to connect to the new servername should be a peice...
January 16, 2007 at 5:14 am
- Oracle does not have locking, it has versioning ! Different concept.
- SQL2005 Snapshot isolation level mimics this behaviour.
maybe these art. clarify a bit :
http://www.databasejournal.com/features/mssql/article.php/3560451
January 16, 2007 at 12:01 am
Viewing 15 posts - 5,956 through 5,970 (of 7,505 total)