Viewing 15 posts - 46 through 60 (of 82 total)
exec sp_msforeachdb 'use [?]
if db_name() not in (''tempdb'')
begin
alter database <> set read_only
end'
however, there should be no active connections.
Cheers
Jannie
July 20, 2011 at 6:06 pm
Hi
Just a hint, if you are doing backup monitoring instead of using output from funny programs and try to format them.
Checkout msdb
backupset
backupmedia
backupmediafamily
Even if you use 3rd party apps, these...
July 20, 2011 at 12:37 am
Well you need need to find out if you replication agent is delivering (running) on a sunday?
Replication use jobs to kickoff the exes that run replication. So technically you need...
July 20, 2011 at 12:27 am
ahem.
How do you reply to a thread with 23 thousand replies?
Is there any more value to be added in this thread?
Cheers
Jannie
July 20, 2011 at 12:23 am
Hi
If you just want a subset of columns from the order table you can simple open the article and go in and untick the columns you don't want.
Just keep in...
July 20, 2011 at 12:03 am
The CHARINDEX and PATINDEX functions return the starting position of a pattern you specify. PATINDEX can use wildcard characters, but CHARINDEX cannot.
From BOL
July 19, 2011 at 11:55 pm
Just on the filegroup side of things.
If you have a single LUN sitting behind e:\ then filegroups will not give you more throughput, except!
If you pump vast amounts of data...
July 19, 2011 at 11:51 pm
Just while you are on this.
Did you do your partition alignment on formatting the new drives?
If you didn't or don't know what I'm talking about checkout the Jimmy May Disk...
July 19, 2011 at 11:43 pm
Replication didn't work,
Can you give more detail on what didn't work.
I have used mirroring and replication and there is a few things to look out for.
When the mirror is broken...
July 19, 2011 at 11:41 pm
6 disks phew.
Interesting that the size of your database never came up, also what is you workload.
It might not be entirely SAN or extreme material but you can do your...
July 19, 2011 at 11:33 pm
Hi
You should refrain from you that type of code as it's print to sql injection.
Rather using something like sp_executesql and variables.
You will also get better performance by using parameters...
July 19, 2011 at 11:22 pm
Hi
You can look at joining sys.partitions to sys.allocation_units.
Once you have that done you can just sum that data pages.
that will give you the physical size.
If you want the number of...
July 19, 2011 at 11:17 pm
ok
well there are only 2 agents of major concern
1 - log reader, if this don't run log run out of space etc or people get grumpy cause they don't get...
July 19, 2011 at 11:12 pm
Hi
What are you trying to acheive ?
Cheers
Jannie
July 19, 2011 at 11:02 pm
Hi
Just remeber that blocking is a symptom , you can either find some code that is not optimal or that the server don't have resources.
Also make sure that your indexing...
July 19, 2011 at 10:59 pm
Viewing 15 posts - 46 through 60 (of 82 total)