Re: Update question
From: Hugo Kornelis (hugo_at_pe_NO_rFact.in_SPAM_fo)
Date: 01/07/05
- Next message: Andrew J. Kelly: "Re: Copy complete tables - What is the best pattern?"
- Previous message: Aaron [SQL Server MVP]: "Re: The number of the week."
- In reply to: simon: "Re: Update question"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 07 Jan 2005 15:41:43 +0100
On Fri, 7 Jan 2005 14:42:45 +0100, simon wrote:
(snip)
>So, when use table without PK? Is that allowed?
Hi Simon,
Yes, it is allowed by SQL Server, though it is on violation of relational
rules. It is definitely NOT a good practice, though, and I suggest you to
identify and define the key for that table as soon as possible.
>Why ITW recomends nonclustered index before clustered? I thought, first
>should be PK and than I can build all other indexes.
I have no idea - I already told you my experience with ITW is very
limited.
Please ask in a new post. It'll be of help to anyone who'll try to answer
your post if you include the table structure (www.aspfaq.com/5006) and the
query you're trying to optimize. Some sample data (as INSERT statements)
would be nice as well.
Best, Hugo
-- (Remove _NO_ and _SPAM_ to get my e-mail address)
- Next message: Andrew J. Kelly: "Re: Copy complete tables - What is the best pattern?"
- Previous message: Aaron [SQL Server MVP]: "Re: The number of the week."
- In reply to: simon: "Re: Update question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|