Viewing 15 posts - 391 through 405 (of 660 total)
is there a way to split the transactions and execute like ,deleting 5k rows each time. so that it has small log file and can easily get rid of that.
June 10, 2008 at 11:57 am
Drop Indexes
ALTER TABLE [dbo].[PRTran] DROP CONSTRAINT [PRTran0]
if exists (select * from dbo.sysindexes where name = N'PRTRAN_si90' and id = object_id(N'[dbo].[PRTran]')) drop index [dbo].[PRTran].[PRTRAN_si90]
if exists...
June 10, 2008 at 11:50 am
may be there are relationships between tables and so they are droping indexes so that it allows them to delete blank records.
Actually its an old system running which i need...
June 10, 2008 at 11:45 am
Right now we are kind of managing this but it takes lots of time and also locks the tables related and degrades the performance.
The way we do is
Drop Indexes
Delete blank...
June 10, 2008 at 11:29 am
Hey guys take a look at my Execution PLan I have attached as zip file.
thanks
June 6, 2008 at 3:03 pm
I created a view with cte
WITH UserGroupUserGroups AS (
SELECT
CAST(NULL AS UNIQUEIDENTIFIER) AS ParentUserGroupID,
ug.UserGroupID AS ChildUserGroupID
FROM
UserSecurity.UserGroups AS ug
WHERE
NOT EXISTS(SELECT 'X' FROM UserSecurity.UserGroupUserGroups AS ugug WHERE ugug.ChildUserGroupID = ug.UserGroupID)
UNION ALL SELECT
parentGroups.ChildUserGroupID AS...
June 4, 2008 at 12:47 pm
Viewing 15 posts - 391 through 405 (of 660 total)