Viewing 15 posts - 136 through 150 (of 258 total)
IS that code killing queries that are blocking and running over 2 hours?
May 7, 2013 at 4:40 pm
I agree but in this case its with an adhoc dev enviroment which its ok. If someone could explain to me how to go about it I would appreciate it
May 3, 2013 at 3:00 pm
I figured it out. In my code there is a wait command that occasionally is called. I changed the timeout setting in the subscription to 1200 and it ran fine.
March 15, 2013 at 3:23 pm
How can a correct that?
February 25, 2013 at 8:01 am
Found it!
USE MyDB
GO
SET ANSI_WARNINGS OFF;
SET NOCOUNT ON;
GO
WITH agg AS
(
SELECT
[object_id],
last_user_seek,
...
February 22, 2013 at 2:55 pm
This is for an adhoc enviroment for report development.
February 22, 2013 at 2:27 pm
But Im needing to do it on a weekly basis
February 22, 2013 at 2:10 pm
Yes Sean thats exactly what m trying to do. Trying to find out which table can be dropped.
February 22, 2013 at 2:07 pm
I appreciate your help. The load of the temp table and creation of the index is working but I'm getting errors with the last select statement.
December 14, 2012 at 11:04 am
Sorry, heres a create script for the table
CREATE TABLE [dbo].[SQLPLEX_AUDITLOG_ALL](
[SQLPlexAuditLogID] [bigint] IDENTITY(1,1) NOT NULL,
[SQLPlexAuditLogID_Local] [bigint] NULL,
[event_time] [datetime2](7) NOT NULL,
[sequence_number] [int] NOT NULL,
[database_type] [varchar](13) NOT NULL,
[server_instance_name] [nvarchar](128) NULL,
[server_machine_name] [sql_variant] NULL,
[server_ip_address] [varchar](15)...
December 13, 2012 at 2:15 pm
I ended up using the Transfer SQL Server Objects task in ssis to copy the tables over without the data which is exactly what I needed.
November 9, 2012 at 11:24 am
Nice! I will see if we can use 3rd party
October 25, 2012 at 12:37 pm
I figured it out:
exec sp_MSforeachtable '
IF EXISTS(select * from information_schema.tables where TABLE_SCHEMA = ''s016PASP'' AND TABLE_NAME = parsename ("?", 1)
)
BEGIN
ALTER SCHEMA dbo TRANSFER ?
END'
October 16, 2012 at 5:20 pm
Actually went in this direction. I created the missinig schemas on my destination db, ran the obj transfer, then ran the following to move all tables into the corrrect schema
exec...
October 15, 2012 at 4:13 pm
The reason I need to be ablee to work it without the filegroup is that I'm using a Transfer SQL Server Objects Task to copy about 200 tables over and...
October 12, 2012 at 11:12 am
Viewing 15 posts - 136 through 150 (of 258 total)