Click here to Skip to main content
15,919,028 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Server 2008 - Replication without a primary key in the publisher ? Pin
Wendelius4-Feb-09 7:49
mentorWendelius4-Feb-09 7:49 
QuestionSSIS - How to transform data and push transformed data into Destination database Pin
CodalcoholicNBrainy2-Feb-09 23:12
CodalcoholicNBrainy2-Feb-09 23:12 
AnswerRe: SSIS - How to transform data and push transformed data into Destination database Pin
Giorgi Dalakishvili3-Feb-09 0:03
mentorGiorgi Dalakishvili3-Feb-09 0:03 
Questionprotect sql server database Pin
Any_India2-Feb-09 22:17
Any_India2-Feb-09 22:17 
AnswerRe: protect sql server database Pin
Wendelius3-Feb-09 1:48
mentorWendelius3-Feb-09 1:48 
QuestionTree structre table performance problem Pin
sepel2-Feb-09 22:12
sepel2-Feb-09 22:12 
AnswerRe: Tree structre table performance problem Pin
Paddy Boyd3-Feb-09 2:16
Paddy Boyd3-Feb-09 2:16 
AnswerRe: Tree structre table performance problem Pin
Wendelius3-Feb-09 2:17
mentorWendelius3-Feb-09 2:17 
The first question is that is your indexing correctly (on all ID columns and ParentID columns).

The other question is that do you really want to retrieve all rows. You propably have somekind of where clause when you query the data. You should also build indexes to support that query.

Just a sidenote, you don't have to have 3 table. If the columns in all tables are (almost) the same, yuo can combine the data into 1 table. However, I think that's not where you should start from.

The need to optimize rises from a bad design.My articles[^]

QuestionWhich version of SqlServer is better for my work Pin
VisualLive2-Feb-09 22:02
VisualLive2-Feb-09 22:02 
AnswerRe: Which version of SqlServer is better for my work Pin
Wendelius3-Feb-09 1:51
mentorWendelius3-Feb-09 1:51 
GeneralRe: Which version of SqlServer is better for my work Pin
VisualLive3-Feb-09 5:04
VisualLive3-Feb-09 5:04 
GeneralRe: Which version of SqlServer is better for my work Pin
Wendelius3-Feb-09 6:59
mentorWendelius3-Feb-09 6:59 
GeneralRe: Which version of SqlServer is better for my work Pin
VisualLive3-Feb-09 14:28
VisualLive3-Feb-09 14:28 
GeneralRe: Which version of SqlServer is better for my work Pin
Wendelius3-Feb-09 18:22
mentorWendelius3-Feb-09 18:22 
GeneralRe: Which version of SqlServer is better for my work Pin
VisualLive3-Feb-09 20:47
VisualLive3-Feb-09 20:47 
GeneralRe: Which version of SqlServer is better for my work Pin
Wendelius4-Feb-09 7:54
mentorWendelius4-Feb-09 7:54 
GeneralRe: Which version of SqlServer is better for my work Pin
VisualLive4-Feb-09 15:20
VisualLive4-Feb-09 15:20 
Questionaudit trail Pin
NidhiKanu2-Feb-09 18:58
professionalNidhiKanu2-Feb-09 18:58 
AnswerRe: audit trail Pin
N a v a n e e t h2-Feb-09 19:06
N a v a n e e t h2-Feb-09 19:06 
GeneralRe: audit trail Pin
NidhiKanu2-Feb-09 19:18
professionalNidhiKanu2-Feb-09 19:18 
QuestionSQL For selecting consecutive rows with time difference Pin
pratap19802-Feb-09 13:11
pratap19802-Feb-09 13:11 
AnswerRe: SQL For selecting consecutive rows with time difference Pin
Wendelius2-Feb-09 18:19
mentorWendelius2-Feb-09 18:19 
Questioncount total records and (number of records based on a condition) for same column in single sql query Pin
chandrubngit2-Feb-09 5:28
chandrubngit2-Feb-09 5:28 
AnswerRe: count total records and (number of records based on a condition) for same column in single sql query Pin
Colin Angus Mackay2-Feb-09 5:52
Colin Angus Mackay2-Feb-09 5:52 
GeneralRe: count total records and (number of records based on a condition) for same column in single sql query Pin
Wendelius2-Feb-09 6:13
mentorWendelius2-Feb-09 6:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.