Click here to Skip to main content
15,887,135 members
Home / Discussions / Database
   

Database

 
Questionadding column names using the stored procedure.error in the @ character Pin
Pankaj Garg7-May-08 0:12
Pankaj Garg7-May-08 0:12 
AnswerRe: adding column names using the stored procedure.error in the @ character Pin
Krish - KP7-May-08 0:16
Krish - KP7-May-08 0:16 
QuestionRe: adding column names using the stored procedure.error in the @ character Pin
Pankaj Garg7-May-08 1:43
Pankaj Garg7-May-08 1:43 
AnswerRe: adding column names using the stored procedure.error in the @ character Pin
Krish - KP7-May-08 1:54
Krish - KP7-May-08 1:54 
QuestionRe: adding column names using the stored procedure.error in the @ character Pin
Pankaj Garg7-May-08 1:58
Pankaj Garg7-May-08 1:58 
AnswerRe: adding column names using the stored procedure.error in the @ character Pin
Ashfield7-May-08 4:42
Ashfield7-May-08 4:42 
Questionwhen to create index? Pin
PadmaPriya.S7-May-08 0:01
PadmaPriya.S7-May-08 0:01 
AnswerRe: when to create index? Pin
John_Adams7-May-08 0:34
John_Adams7-May-08 0:34 
Hi,

Based on what you have described. It would be better if you create index before insert the reason being is that when a query uses a nonclustered index, it can use the index efficiently to find the rows. However when it has to go back to the clustered index for any additional columns not present in the nonclustered index (that is called a "lookup").

Lookups can be expensive, especially if needs to do them for a lot of rows -- so extremely narrow nonclustered indexes tend to be limited use except when you're only working with a single column (or the indexed column and the clustered index columns -- keep in mind that nonclustered indexes include the table's clustering key at the leaf level).

Hope this will help you in moving forward in your task Smile | :) .

Regards,
John Adams
ComponentOne LLC

AnswerRe: when to create index? Pin
GuyThiebaut7-May-08 10:04
professionalGuyThiebaut7-May-08 10:04 
Questiongetting the value in variable Pin
gottimukkala6-May-08 23:04
gottimukkala6-May-08 23:04 
AnswerRe: getting the value in variable Pin
Krish - KP7-May-08 0:06
Krish - KP7-May-08 0:06 
Questiondisable complexity check while creating user Pin
Denver Thomas6-May-08 21:43
Denver Thomas6-May-08 21:43 
AnswerRe: disable complexity check while creating user Pin
Dave Kreskowiak7-May-08 10:30
mveDave Kreskowiak7-May-08 10:30 
QuestionMySQL5 Duplicate entry error while row does not exit Pin
Hari Om Prakash Sharma6-May-08 21:16
Hari Om Prakash Sharma6-May-08 21:16 
AnswerRe: MySQL5 Duplicate entry error while row does not exit Pin
Rajesh R Subramanian4-Jun-08 23:38
professionalRajesh R Subramanian4-Jun-08 23:38 
AnswerRe: MySQL5 Duplicate entry error while row does not exit Pin
The Web Developer5-Jun-08 0:35
The Web Developer5-Jun-08 0:35 
Questioncounting in SQL server 2000?? Pin
Karan_TN6-May-08 20:06
Karan_TN6-May-08 20:06 
AnswerRe: counting in SQL server 2000?? Pin
Krish - KP6-May-08 20:28
Krish - KP6-May-08 20:28 
GeneralRe: counting in SQL server 2000?? Pin
Karan_TN6-May-08 20:31
Karan_TN6-May-08 20:31 
AnswerRe: counting in SQL server 2000?? Pin
Ashfield6-May-08 21:54
Ashfield6-May-08 21:54 
QuestionAutomatic record insertion depends on system date sql server 2000? Pin
Dotnetkanna6-May-08 18:53
Dotnetkanna6-May-08 18:53 
AnswerRe: Automatic record insertion depends on system date sql server 2000? Pin
Krish - KP6-May-08 20:31
Krish - KP6-May-08 20:31 
GeneralRe: Automatic record insertion depends on system date sql server 2000? Pin
Dotnetkanna6-May-08 20:58
Dotnetkanna6-May-08 20:58 
GeneralRe: Automatic record insertion depends on system date sql server 2000? Pin
Krish - KP6-May-08 23:53
Krish - KP6-May-08 23:53 
QuestionSwitch between System.Data.OracleClient and System.Data.SqlClient Pin
jzonthemtn6-May-08 14:36
jzonthemtn6-May-08 14:36 

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.