Viewing 13 posts - 1 through 13 (of 13 total)
That would be a lot of rows to put in an excel and compare or filter on. querying the table directly for duplicates would be so much quicker.
It's weird that...
April 9, 2015 at 6:03 pm
I tried and it didn't return any rows. I am thinking this may have something to do with the engine? If any knows?
This code executes several 1000 times a day...
April 9, 2015 at 1:36 pm
shouldn't it be >1 for duplicates?
Corrected Query below. returns no rows
SELECT
tinclude.OrderId,
COUNT(tinclude.OrderId)
FROM
( SELECT v.OrderId FROM dbo.mdv_CustomerFilterCustomerTransDate v WITH (NOLOCK)
WHERE v.TerritoryCode IN (3) AND v.CustomerId = 649 AND ( v.CustomerTransDate...
April 9, 2015 at 12:55 pm
Not Really. you mean a DISTINCT right after INSERT?
I am inserting into temp table taking values from the select distinct.
April 9, 2015 at 8:27 am
Contact your network administrator or check the event log - this could point to data corruption due to a hardware error.
May 18, 2006 at 11:35 am
I am worried about DB corruption. It's a production database 450GB in size.
Thanks for the idea. I can try it on dev and see if it works.
When I restore...
May 8, 2006 at 11:09 am
Phil's idea works perfect. Replacing the DTS GUID works.
October 18, 2005 at 6:57 am
Sorry. I forgot to mention. If I drop and recreate the jobs, they work fine. Interestingly, if I script the job and re-create, it still takes the old login. I restarted...
October 17, 2005 at 11:38 am
By inactive i mean the ones that are not used by any server process or user at all. I wanted to get rid of all the unnecessary extended stored procedures since...
September 1, 2004 at 6:44 am
Thanks for both replies !! I applied both the solutions and created a stored proc to identify inactive logins.
October 28, 2003 at 1:10 pm
Sorry, Allen. I forgot to mention, I have the trace file on SQL 7 and fn_trace_gettable is SQL2000.
Any fn or SP on SQL7?
October 8, 2003 at 7:05 am
Is it possible to assign security admin, permissions to reset password for any login, w/o knowing the old password. For instance giving sysadmin permissions to sp_password stored procedure and grant...
August 25, 2003 at 6:10 am
Thanks to both of you !! It helped.
August 22, 2003 at 10:17 am
Viewing 13 posts - 1 through 13 (of 13 total)