Viewing 15 posts - 10,816 through 10,830 (of 26,489 total)
Found a space between tablename and the . in the following case statement:
WHEN (SUM (CASE WHEN [p21_view_inv_loc] .stockable = 'N' THEN [p21_inventory_usage_all_view].actual_usage ELSE 0 END)) THEN 'Non-Stockable'
Check out the code...
July 9, 2012 at 10:35 am
Do not shrink tempdb, you risk corrupting the database and requiring a start of SQL Server to correct.
July 9, 2012 at 9:42 am
Haven't had to do it, but it should be a matter of just adding the witness.
July 9, 2012 at 8:53 am
forsqlserver (7/9/2012)
I need to...
July 9, 2012 at 8:01 am
ashok23_sharma (7/8/2012)
Attached is the execution plan AND object definition....
Looks like the execution plan is the estimated plan. What is needed is the actual execution plan when the query is...
July 8, 2012 at 12:44 pm
First of all, are you talking about the maintenance plans you build using SSMS using SSIS? I don't. I use custom scripts that berform the necessary index maintenance...
July 8, 2012 at 3:58 am
In a syncronous mirror environment with NO witness, if the mirror goes down or network connectivity between the two databases is lost, as Gail said, the log file continues to...
July 8, 2012 at 3:39 am
Jeff Moden (7/6/2012)
sivag (7/6/2012)
Create table #temptable2 (firstlevel varchar(200),ThirdLevel varchar(8000) ) ;
insert into #temptable2 (firstlevel,ThirdLevel ) VALUES ('count1','serv,dan,ton');
insert into #temptable2 (firstlevel,ThirdLevel ) VALUES ('count2','wers,tdan,tondrer,fhhgj,tern') ;
WITH Cte AS...
July 6, 2012 at 4:49 pm
dan-572483 (7/6/2012)
You're right - should have been <= 9 or < 10.
There is one advantage of my date calc routine, if the fiscal year ends at the end of February...
July 6, 2012 at 4:44 pm
I found a copy/paste error with my code. Fixed it above, but it didn't really change much.
July 6, 2012 at 4:39 pm
dan-572483 (7/6/2012)
How do you determine which is...
July 6, 2012 at 4:16 pm
dan-572483 (7/6/2012)
July 6, 2012 at 3:48 pm
I just reran my code, and I am really confused. Based on your sample data, my code returns exactly what you asked for in your original post:
firstlevel ...
July 6, 2012 at 3:40 pm
Sean Lange (7/6/2012)
Lynn Pettis (7/6/2012)
July 6, 2012 at 3:32 pm
I'll have to defer on modifying this to work on SQL Server 2000 to someone who still works with SQL Server 2000. I haven't touched a SQL Server 2000...
July 6, 2012 at 3:28 pm
Viewing 15 posts - 10,816 through 10,830 (of 26,489 total)