Viewing 15 posts - 18,751 through 18,765 (of 26,484 total)
What GSquared is alluding to with his sample code is that it would help if you would show us your code. It would be much easier to help you...
September 28, 2009 at 1:12 pm
Jack Corbett (9/28/2009)
September 28, 2009 at 1:06 pm
Michael Valentine Jones (9/24/2009)
Lynn Pettis (9/24/2009)
select
...
September 24, 2009 at 4:07 pm
Sergey Vavinskiy (9/24/2009)
The UPDATE/DELETE/INSERT may not even be able to complete the respective action because it can't get the required locks due to the locks put on the rows/pages/extents/table as...
September 24, 2009 at 12:37 pm
Sergey Vavinskiy (9/24/2009)
I also think you missed the point, as Steve pointed out, only changes are logged. A simple, or complex, select statement for a report is only reading the...
September 24, 2009 at 12:25 pm
Sergey Vavinskiy (9/24/2009)
Curious, how does a SELECT statement fill a transaction log? I can understand UPDATE, DELETE, and INSERT; but SELECT?
If it is only one process running against this DB,...
September 24, 2009 at 12:12 pm
Also, could you repost the DDL? I had them for a while yesterday, but I opened them directly and did not save it on my system.
September 24, 2009 at 12:06 pm
Could you post the execution plan of the query without the index hints? That would probably be much more helpful in solving the problem. What appears to be...
September 24, 2009 at 12:05 pm
Curious, how does a SELECT statement fill a transaction log? I can understand UPDATE, DELETE, and INSERT; but SELECT?
September 24, 2009 at 11:35 am
If your database is using the full recovery model, you really need to setup transaction log backups. This will keep your transaction logs from filling up your log drive....
September 24, 2009 at 10:58 am
Taking Michael Valentine Jones version and making it a bit more the way I'd write it, it would look like this:
select
a.DT,
...
September 24, 2009 at 10:53 am
Actually, Michael Valentine Jones looks simplier than mine, so I'd go with his. I wouldn't have posted mine had I read his first, but I got sidetracked a bit...
September 24, 2009 at 10:48 am
How about trying this:
declare @Date datetime;
set @Date = '2009-09-15';
select
dateadd(mm, -3, dateadd(yy, datediff(yy, 0, dateadd(mm, 3, @Date)), 0)) as BeginFiscalYear,
dateadd(dd, -1, dateadd(yy, 1,...
September 24, 2009 at 10:46 am
doofledorfer (9/23/2009)
September 24, 2009 at 6:56 am
Sounds like a case statement being used in the update. How many differnet values of id_promotionSub are there? How many rows of data in the fact table?
September 23, 2009 at 7:52 pm
Viewing 15 posts - 18,751 through 18,765 (of 26,484 total)