Click here to Skip to main content
15,889,116 members
Home / Discussions / Database
   

Database

 
GeneralRe: Backup & Restore. Pin
Wendelius21-Jan-09 20:08
mentorWendelius21-Jan-09 20:08 
QuestionRAISEERROR problem Pin
George_George19-Jan-09 20:13
George_George19-Jan-09 20:13 
AnswerRe: RAISEERROR problem Pin
J4amieC19-Jan-09 22:17
J4amieC19-Jan-09 22:17 
GeneralRe: RAISEERROR problem Pin
George_George20-Jan-09 2:51
George_George20-Jan-09 2:51 
AnswerRe: RAISEERROR problem Pin
Hamid_RT22-Jan-09 23:18
Hamid_RT22-Jan-09 23:18 
GeneralRe: RAISEERROR problem Pin
George_George4-Feb-09 22:44
George_George4-Feb-09 22:44 
QuestionOptimize an query select DB Pin
TuanNGUYEN19-Jan-09 16:48
TuanNGUYEN19-Jan-09 16:48 
AnswerRe: Optimize an query select DB Pin
Wendelius19-Jan-09 18:19
mentorWendelius19-Jan-09 18:19 
You could modify the in list to a XML query and use that, but since you're changing ty MySQL that most likely won't work in there. Using IN (value1, value2, ...) is supported by all DBMS although each DBMS may have restrictions in the amount of values. However, that's a working solution and the optimizer tries to find the best permutation for execution.

If the in list is large, this could be a modeling issue, but without anymore info about the problem, it's hard to say.

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

GeneralRe: Optimize an query select DB Pin
TuanNGUYEN19-Jan-09 20:04
TuanNGUYEN19-Jan-09 20:04 
GeneralRe: Optimize an query select DB Pin
Wendelius20-Jan-09 8:28
mentorWendelius20-Jan-09 8:28 
Question"begin catch" and "end catch" Pin
George_George19-Jan-09 2:38
George_George19-Jan-09 2:38 
AnswerRe: "begin catch" and "end catch" Pin
J4amieC19-Jan-09 4:02
J4amieC19-Jan-09 4:02 
GeneralRe: "begin catch" and "end catch" Pin
George_George19-Jan-09 18:41
George_George19-Jan-09 18:41 
AnswerRe: "begin catch" and "end catch" Pin
Rob Philpott19-Jan-09 6:29
Rob Philpott19-Jan-09 6:29 
GeneralRe: "begin catch" and "end catch" Pin
George_George19-Jan-09 18:40
George_George19-Jan-09 18:40 
GeneralRe: "begin catch" and "end catch" Pin
Rob Philpott19-Jan-09 23:13
Rob Philpott19-Jan-09 23:13 
GeneralRe: "begin catch" and "end catch" Pin
George_George20-Jan-09 3:01
George_George20-Jan-09 3:01 
GeneralRe: "begin catch" and "end catch" Pin
Rob Philpott20-Jan-09 3:13
Rob Philpott20-Jan-09 3:13 
AnswerRe: "begin catch" and "end catch" Pin
Wendelius19-Jan-09 7:06
mentorWendelius19-Jan-09 7:06 
GeneralRe: "begin catch" and "end catch" Pin
George_George19-Jan-09 18:51
George_George19-Jan-09 18:51 
GeneralRe: "begin catch" and "end catch" Pin
Wendelius20-Jan-09 6:39
mentorWendelius20-Jan-09 6:39 
AnswerRe: "begin catch" and "end catch" Pin
Hamid_RT22-Jan-09 23:18
Hamid_RT22-Jan-09 23:18 
QuestionConvert Columns as Rows Pin
Vignesh Krishnan19-Jan-09 1:40
Vignesh Krishnan19-Jan-09 1:40 
AnswerRe: Convert Columns as Rows Pin
Wendelius19-Jan-09 2:05
mentorWendelius19-Jan-09 2:05 
GeneralRe: Convert Columns as Rows Pin
Vignesh Krishnan19-Jan-09 3:12
Vignesh Krishnan19-Jan-09 3:12 

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.