Viewing 15 posts - 21,916 through 21,930 (of 59,072 total)
I can't speak for Kevin but I roll my own, as well. Two different types but both use carefully created, hardcoded triggers. Notice that I didn't say "hand...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2015 at 9:06 pm
Just remember that Instant File Initialization doesn't do squat for log files.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2015 at 8:55 pm
TheSQLGuru (1/11/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2015 at 8:53 pm
Lowell (1/11/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2015 at 7:39 pm
Ah... understood on the OR.
I'm thinking that a UNIQUE NIX on the ID and Hash (and that combination should be unique because the ID is unique) might be worth trying.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2015 at 7:28 pm
Gosh, I dunno, Grant. If the backups are taken correctly, I've found the GUI actually does a pretty good job about figuring out which DIF/TRNs go with the latest...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2015 at 7:25 pm
Mark Cowne (1/11/2015)
Bit late to the party but you can convert this to a nested set representation using the code below
Kind...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2015 at 7:08 pm
Eirikur Eiriksson (1/11/2015)
Jeff Moden (1/11/2015)
prabhu.st (1/11/2015)
as of now the query is taking 19 seconds to bring the result set with pagination for 300454 records.
Are you saying that (and it...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2015 at 6:59 pm
Why not just setup Replication?
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2015 at 6:53 pm
rickyschroder (1/11/2015)
...I think here is what I have, omitted GROUP BY AND ORDER BY account_id ASC
That's where I was going with this and why I asked about the Account_ID. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2015 at 6:48 pm
Or just make them run better. 😉 Then there won't be a problem that you have to throttle or manage.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2015 at 6:42 pm
bantrim (1/11/2015)
Jeff Moden (1/11/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2015 at 6:39 pm
Are you saying that you only want the data from the row that has the MAX Carat_ID for account_id = 464?
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2015 at 6:00 pm
How do you want to handle 58475 when the following happens?
i_transaction_id c_amount dt_when i_ticket_id...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2015 at 5:37 pm
Eirikur Eiriksson (1/11/2015)
chef423 (1/11/2015)
No worries...Ill figure it out on my own then.
If you don't understand the original...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 11, 2015 at 5:29 pm
Viewing 15 posts - 21,916 through 21,930 (of 59,072 total)