Viewing 15 posts - 25,906 through 25,920 (of 26,487 total)
Joseph, A full backup does not trunctate the transaction log. A full backup only backs up enough of the transaction log to provide a consistent database during a restore. In...
May 24, 2007 at 10:17 am
We did so many things over the weekend, I'm not sure if we did that or not. I'll give it a try and see what happens.
Just in case it doesn't...
May 23, 2007 at 8:03 pm
Start with this and let me know how it works:
--declare @trainreqs table (
create table dbo.trainreqs (
client char(50),
typecode char(10),
grp int,
hrs int
);
insert into dbo.trainreqs values ('CLI1', 'type1', 1,...
May 23, 2007 at 8:01 pm
The quick way: script out your foreign keys, drop them, truncate the tables, reload the data, replace the foreign keys.
May 23, 2007 at 7:31 pm
More detail would help. Can you post the tables DDL along with some sample data and results?
Thanks
May 23, 2007 at 1:30 pm
I don't see how you can eliminate the index scan (assuming you are indexing on the Comment field) unless you create a computed column based on the first three characters...
May 23, 2007 at 11:46 am
If you are doing a complete refresh of the data you need to complete the drop and add in the following order:
Starting with the lowest child table, start deleting records...
May 23, 2007 at 11:32 am
Have you checked the error logs to see if the there is a problem while SQL Server Agent is starting? The only time I have seen Agent XP's disabled is...
May 23, 2007 at 10:08 am
You can turn this option off when using the SQL Server Scripts Wizard. You start it by selecting Generate Scripts when right clicking on a database in Object Explorer.
May 23, 2007 at 10:03 am
You can also eliminate your cursor to build you column list using the following code:
declare @columns varchar(5000)
SET @columns = ''
SELECT @columns = @columns + [name] + ', ' FROM syscolumns
WHERE...
May 23, 2007 at 8:27 am
You might want to post your code for the UDF dbo.fnNoTime() as I doubt Best will figure out how to write it.
May 23, 2007 at 8:16 am
Take this and run with it. You may need to tweak it to meet your needs but it is as close as i can get it for you.
set nocount on
DECLARE...
May 23, 2007 at 8:07 am
No. The trigger would wait for the stored procedure to complete. It is no asyncronous. If the stored procedure fails, the trigger fails and everything has to roll back. Remember...
May 22, 2007 at 4:15 pm
If that was the case, how would this forum help him?
May 22, 2007 at 4:12 pm
My System Table Map doesn't show anything for DTS, but the agent tables are in msdb. A quick search of BOL will tell what tables you need to look at.
May 22, 2007 at 4:11 pm
Viewing 15 posts - 25,906 through 25,920 (of 26,487 total)