Viewing 15 posts - 47,101 through 47,115 (of 49,571 total)
As a first suggestion, run profiler and capture the T-SQL Batchcompleted and StoredProc:RPC completed events. Run it for an hour or so during one of your busy periods. You can...
March 27, 2008 at 7:50 am
Faessler Gilles (3/27/2008)
Currently on the server there is only a full backup of all dbs once a day. No log backups at all. IfI unterstand it right the logs continues...
March 27, 2008 at 4:02 am
Snapshot isolation probably will fix the deadlocks, but you do need to check and make sure it will not break any code. You also have to take the impact on...
March 27, 2008 at 1:23 am
IN doesn't parse apart a comma-delimited string. The form with a subquery is equivalent to an inner join
Your query
select * from employee where employee_typ in (select [value] from cfg_elements...
March 27, 2008 at 1:07 am
Scott Duncan (3/26/2008)
March 27, 2008 at 1:00 am
Looks like you may have duplicate jobs. The code you posted that runs 1pm does all that the integrity check and optimisations do. You may be able to disable one...
March 26, 2008 at 11:59 pm
Do you mean the profiler trace? Or something else?
If you select save to file, you can have the profiler trace written anywhere. If you don't, I think it just goes...
March 26, 2008 at 11:49 pm
I'll second Kyle's advice. The only time you should consider shrinking a transaction log is if it's grown excessivly large due to some long running transaction.
In general, what you want...
March 26, 2008 at 11:43 pm
blahknow (3/26/2008)
Hi Gail,You've got 3213 points, how did you get it, from another forum ?
Points are given for writing posts (1 per post writen) and for answering the Question...
March 26, 2008 at 11:34 pm
Is the category group stored anywhere? If not, have you considered creating a table for the cateory group and adding a foreign key to the InventoryCategory table?
It will make queries...
March 26, 2008 at 11:26 pm
Those are table variables. Unlike temp tables, the name that they are given in code has no relation to the name assigned in TempDB.
It's also possible that temp tables created...
March 26, 2008 at 11:24 pm
What's wrong with just this?
select object_name(a.id),a.name,b.name,a.length
from syscolumns a,systypes b
where a.type = b.type
and a.usertype = b.usertype
order by object_name(a.id)
March 26, 2008 at 6:03 am
kgunnarsson (3/26/2008)
but if you do a full backup before the truncation
I was under the asumption that this could be avoided by doing full backup and transaction log backup before...
March 26, 2008 at 4:43 am
What you're seeing is an automatic statistics update. Nothing to be concerned about.
March 26, 2008 at 4:28 am
kgunnarsson (3/25/2008)
backup log 'database' with truncate_only
Just bear in mind that a log truncation breaks the log chain. You will not be able to restore the database to a time after...
March 26, 2008 at 4:21 am
Viewing 15 posts - 47,101 through 47,115 (of 49,571 total)