Viewing 15 posts - 5,431 through 5,445 (of 8,416 total)
lkarthikraj-609584 (1/12/2009)
Cannot find index 'PK__EventStage__46AF6B36'
That's the problem with relying on system-generated names for constraints, such as primary keys.
You would think Microsoft would know better.
USE tempdb;
GO
CREATE TABLE #SystemGenerated
...
March 13, 2010 at 2:22 am
This White Paper from Microsoft will help you focus you efforts in the right place:
March 13, 2010 at 2:10 am
Start with the basics: http://msdn.microsoft.com/en-us/library/cc966413.aspx
If you can show that it is not a SQL Server problem, enlist help from your hardware specialist.
March 13, 2010 at 2:08 am
Prince Ali (3/10/2010)
user_scans + user_seeks + user_lookups
Beware the fact that user_lookups are always counted against the clustered index. Non-clustered indexes always have a zero for that counter.
As far as...
March 13, 2010 at 2:06 am
Precisely, which counters are you monitoring?
March 13, 2010 at 2:00 am
Tom,
Please read, run, and make sure you understand each point in this demonstration script:
Setup:
IF OBJECT_ID(N'tempdb..#TableX', N'U')
IS NOT...
March 13, 2010 at 1:51 am
Setup:
DROP TABLE #Data;
GO
CREATE TABLE #Data
(
mem_id ...
March 13, 2010 at 1:25 am
shawndidy (3/13/2010)
Msg 8146, Level 16, State...
March 13, 2010 at 12:32 am
Just in case ALZDBA left any room for ambiguity: do not store or process dates as strings in SQL Server. Use one of the date/time data types. Always.
😛
March 12, 2010 at 10:28 pm
Voted 'no'.
The separation of CREATE/ALTER does more good than harm, in my experience.
SQL Server != Oracle
Paul
March 12, 2010 at 10:26 pm
I have corrected the missing columns, spelling errors, and ordering of your script.
I do wish you had tested it before submitting - I do not like wasting my time.
Nevertheless, once...
March 12, 2010 at 10:23 pm
March 12, 2010 at 9:47 pm
As far as I can see, the previously posted code doesn't meet the requirement to select a minimum of three rows, a maximum of 25, and 10% of the group...
March 12, 2010 at 9:29 pm
gilbert delarosa (3/12/2010)
March 12, 2010 at 8:09 pm
The fact of the matter is that there is no perfectly sound way to identify 'system' databases.
The best you can do is to take a combination of the advice so...
March 12, 2010 at 8:03 pm
Viewing 15 posts - 5,431 through 5,445 (of 8,416 total)