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

Database

 
AnswerRe: SSIS package when executed as Job not printing even the job executes successfully! Pin
Wendelius23-Oct-08 8:59
mentorWendelius23-Oct-08 8:59 
QuestionRe: SSIS package when executed as Job not printing even the job executes successfully! Pin
SIJUTHOMASP23-Oct-08 10:29
professionalSIJUTHOMASP23-Oct-08 10:29 
AnswerRe: SSIS package when executed as Job not printing even the job executes successfully! Pin
SIJUTHOMASP24-Oct-08 7:01
professionalSIJUTHOMASP24-Oct-08 7:01 
GeneralRe: SSIS package when executed as Job not printing even the job executes successfully! Pin
Wendelius24-Oct-08 7:32
mentorWendelius24-Oct-08 7:32 
GeneralRe: SSIS package when executed as Job not printing even the job executes successfully! Pin
SIJUTHOMASP24-Oct-08 7:57
professionalSIJUTHOMASP24-Oct-08 7:57 
GeneralRe: SSIS package when executed as Job not printing even the job executes successfully! Pin
Wendelius24-Oct-08 8:01
mentorWendelius24-Oct-08 8:01 
QuestionIndex vs Param Pin
E_Gold23-Oct-08 5:55
E_Gold23-Oct-08 5:55 
AnswerRe: Index vs Param Pin
David Mujica23-Oct-08 6:31
David Mujica23-Oct-08 6:31 
Indexes provide a method of retrieving data very quickly, however you must ask yourself some questions:

1) How many rows will be returned in a typical query ? (10s,100s,1000s) If the query returns many rows it may actually be faster to perform a full-table scan rather than reading through the index. In fact the query optimizer may actually perform a full table scan instead of an index scan, even though the index is present.

2) What is the nature of the data; does it contain many unique values ? For example consider a field called, status (Active / Inactive). This may not be a good choice for an index because it doesn't have very many unique values and retrieving these values would end up causing sequential reads through the index.

3) When designing the index, ideally you would have the index contain items in the select or where clause. For example "select a,b,c from mytable where z = myValue". A good index would contain both Z and A, this way when searching through the index it finds the data that you are looking for (z) and it also has the data that you want, (a). There is no need for the optimizer to go to the main table and retrieve data, everything is available in the index. FAST !

4) The order of the values in the index make a big difference also, but I can't remember a good example.

Lots of things to think about. Post more details about the nature of your query and maybe I can be of more assistance. david
GeneralRe: Index vs Param Pin
E_Gold23-Oct-08 10:03
E_Gold23-Oct-08 10:03 
GeneralBarcode sounds like primary key Pin
David Mujica23-Oct-08 11:07
David Mujica23-Oct-08 11:07 
GeneralRe: Barcode sounds like primary key Pin
E_Gold23-Oct-08 12:19
E_Gold23-Oct-08 12:19 
GeneralRe: Barcode sounds like primary key Pin
David Mujica24-Oct-08 7:29
David Mujica24-Oct-08 7:29 
AnswerRe: Index vs Param Pin
Wendelius23-Oct-08 8:05
mentorWendelius23-Oct-08 8:05 
Question2 Databases 2 locations one website??? Pin
GDMFSOB23-Oct-08 3:59
GDMFSOB23-Oct-08 3:59 
AnswerSQL 2005 is the way to go Pin
David Mujica23-Oct-08 4:47
David Mujica23-Oct-08 4:47 
AnswerRe: 2 Databases 2 locations one website??? Pin
Wendelius23-Oct-08 8:22
mentorWendelius23-Oct-08 8:22 
GeneralRe: 2 Databases 2 locations one website??? Pin
nelsonpaixao23-Oct-08 15:42
nelsonpaixao23-Oct-08 15:42 
QuestionExperience with CLR Stored Procedures in MS SQL Server 2005 Pin
James R. Twine23-Oct-08 2:34
James R. Twine23-Oct-08 2:34 
QuestionRe: Experience with CLR Stored Procedures in MS SQL Server 2005 Pin
led mike23-Oct-08 4:39
led mike23-Oct-08 4:39 
AnswerRe: Experience with CLR Stored Procedures in MS SQL Server 2005 Pin
James R. Twine23-Oct-08 7:40
James R. Twine23-Oct-08 7:40 
AnswerRe: Experience with CLR Stored Procedures in MS SQL Server 2005 Pin
i.j.russell24-Oct-08 13:54
i.j.russell24-Oct-08 13:54 
AnswerRe: Experience with CLR Stored Procedures in MS SQL Server 2005 Pin
Wendelius23-Oct-08 9:35
mentorWendelius23-Oct-08 9:35 
QuestionDo a simple Query for me Pin
Saam_cse23-Oct-08 1:28
Saam_cse23-Oct-08 1:28 
AnswerRe: Do a simple Query for me Pin
Ashfield23-Oct-08 1:42
Ashfield23-Oct-08 1:42 
RantRe: Do a simple Query for me Pin
Eddy Vluggen23-Oct-08 2:14
professionalEddy Vluggen23-Oct-08 2:14 

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.