Viewing 15 posts - 406 through 420 (of 608 total)
I think I answered my own question...
select stmt_del_method, *
from rm_acct
---
where stmt_del_method = 'Print' COLLATE Latin1_General_CS_AS
--where rim_no = '1402809'
order by stmt_del_method
May 11, 2010 at 1:11 pm
I think I figured it out...
thanks brandie...happy friday.
May 7, 2010 at 8:41 am
Thanks Brandie
When I go to grant the user access to the proc, I go to the proc, permissions, I hit objects and I see all my users, but not transactionuser...not...
May 7, 2010 at 8:31 am
Safe to assume, you've bounced the box?
May 6, 2010 at 10:49 am
it's not always bad to have overlapping indexes. They won't be used if they aren't needed.
But they will take up space.
May 6, 2010 at 9:35 am
Depeding on what type of transaction you can use 'bulk logging' or use SSIS to do your inserts (bulk).
You cannot disable logging completely in SQL.
You may want to post your...
May 6, 2010 at 9:28 am
I agree with the above steps...
but one other option..
you could always check ODBC on the client side...(if it's an MDAC based app)
May 4, 2010 at 2:16 pm
Agreed.
Just looking for some outputs to prove DB is in good order....ie dbcc check db...or something similar...but that I can run on a prod box
May 3, 2010 at 12:51 pm
You lost me Jeff....
I need that code to do my deletes...dont' I?
May 3, 2010 at 6:39 am
hmm...no i haven't
really didn't think I needed to create any joins because I'm checking for max/min date on createddate
my assumption was that I would not see any dates < my...
April 30, 2010 at 3:14 pm
fwiw- I've looked at the remaining records and they look correct..
no nulls, etc
shoudln't it delete every record less then that date?
April 30, 2010 at 2:35 pm
Thanks guys for answering.
I could be wrong, but I don't think it's the time.
It is deleting many records. But when I do a min/max on createddate it is always the...
April 30, 2010 at 2:18 pm
Grant,
I've now been told that I need to not delete any records from table C.
I'm trying to run this:
declare @DaysToRetainSMALLINT
DECLARE @cutoffdate DATE
SET @daystoretain = '200'
SET @cutoffdate = '12/01/2009'
SELECT@CUTOFFDATE = DATEADD(dd,...
April 29, 2010 at 9:04 am
Atif Sheikh
that sounds like the easiest way for me to go...now how to enable cascade deletes?
April 29, 2010 at 7:21 am
Grant
Im trying to use your statement:
But when I run the below code I get the error:
"Must declare the scalar variable "@CUTOFFDATE".
declare @DaysToRetainSMALLINT
DECLARE @cutoffdate DATE
SET @daystoretain = '1'
SET @cutoffdate = '12/01/2010'
SELECT@CUTOFFDATE...
April 29, 2010 at 7:19 am
Viewing 15 posts - 406 through 420 (of 608 total)