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

Database

 
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 
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 
If these are the only 2 values in your lookup table and the Barcode is unique, then I would make the Barcode a primary key and by default a unique index would be generated by the database engine. There would be no need for an additional index to be created. Regarding parameters, you should always try to make your queries with parameters, this will allow the dbEngine to cache the execution plan for your query, this reduces the amount of CPU required when executing a SQL statement.

For example, "select MySerial from BigTable where Barcode = ?" (not really the syntax, but you get the idea) The dbEngine would parse this SQL statement, choose the best execution plan and store it in it's statement cache so each time it sees this statement it knows how to proceed. This statement will be executed thousands of time with nothing changing but the value for the barcode.

With this type of table and SQL 2005 you should see response times easily under 1/2 second.
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 
JokeRe: Do a simple Query for me Pin
Ashfield23-Oct-08 2:28
Ashfield23-Oct-08 2:28 
GeneralRe: Do a simple Query for me Pin
Eddy Vluggen23-Oct-08 2:41
professionalEddy Vluggen23-Oct-08 2:41 

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.