Viewing 15 posts - 151 through 165 (of 180 total)
Thanks Tom,
I was trying to avoid Temp table in favour of Table variables. I have found a way to do what I want with a UDF, and on re-looking, may...
June 15, 2005 at 5:32 am
I couldn't find this from the information_schema views, so I resorted to:
select sot.[name] as 'Table Name',
sc.[name] as 'Column name',
sod.[name] as 'Default Name'
from sysobjects sot
inner join
syscolumns sc
on sot.[id] = sc.[id]
inner...
May 23, 2005 at 7:48 am
how about:
select 'drop index '+ object_name (si.id) + '.' + si.[name]
from sysindexes si
inner join
sysobjects so
on si.id = so.id
where si.indid not in (0,255)
and so.xtype = 'U'
It may need some work...
May 23, 2005 at 7:05 am
2300 User created indexes? Good grief, that better be a huge database, or a warehouse...
I think all you can do is:
(1) allow the script to generate - it should do this...
May 23, 2005 at 6:37 am
Out of interest, what version of SQL are you using? Your reference to "dump" makes me think of 6.5 etc., in which case I don't have any practical experience in...
May 23, 2005 at 4:57 am
SQL Server Optimizations should always be run. This should be part of your ongoing monitoring and maintenace of your production databases (which IMHO you should not do via maintenance plans,...
May 23, 2005 at 4:37 am
Hmm - interesting difference's. BOL doesn;t describe the +checkpoint option for Kill - I'll have to see what that does. Also, I see he log's each attempted kill.
But still...
May 17, 2005 at 2:12 am
Thanks Allen - I'll probably do wither that, or else perhaps a simple select from sysprocesses where spid = @spid - not sure which would be more efficient...
I'm really looking...
May 16, 2005 at 5:26 am
Found my mistake - errors in log shipping UNC directory - Transaction Log backups weren't being found and copied.
April 18, 2005 at 6:22 am
Thanks Martin - it definitely seems I've got some kind of problem in the way I set it up - which is kinda strange, given that I just used the...
April 18, 2005 at 3:02 am
I'm on the same page - Steve's SP sounds interesting...
I've toyed with the idea of creating a maintenace database that keep track of statistics, last times, tables izes, number of...
March 24, 2005 at 8:47 am
Are you using MS log shipping, or a home-grown variation?
If is it home-grown, ehre's a thought for you - consider compression of log file before copying, and then decompression afterwards.
I...
March 24, 2005 at 4:14 am
Thanks for the response Helen
I am trying to find out whether it is possible to do this and pick up the defaulty collation...
March 17, 2005 at 6:57 am
Vladan,
True enough, but given 3 validly (is there even such a word ? ) different companies, they might incorrectly match...
As I said...
March 4, 2005 at 1:52 am
Viewing 15 posts - 151 through 165 (of 180 total)