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

Database

 
AnswerRe: Get Filename and import fixed width file Pin
Eddy Vluggen11-Oct-12 12:51
professionalEddy Vluggen11-Oct-12 12:51 
QuestionRe: Get Filename and import fixed width file Pin
ReallyDumbDudee11-Oct-12 13:56
ReallyDumbDudee11-Oct-12 13:56 
AnswerRe: Get Filename and import fixed width file Pin
Eddy Vluggen12-Oct-12 1:04
professionalEddy Vluggen12-Oct-12 1:04 
Answer. Pin
SQL Ed10-Oct-12 8:21
SQL Ed10-Oct-12 8:21 
AnswerRe: tried to use a case when inside a WHERE clause but did not work. Need more efficient way to cover all IF ELSE scenarios. Pin
Eddy Vluggen10-Oct-12 9:26
professionalEddy Vluggen10-Oct-12 9:26 
GeneralRe: tried to use a case when inside a WHERE clause but did not work. Need more efficient way to cover all IF ELSE scenarios. Pin
SQL Ed10-Oct-12 13:15
SQL Ed10-Oct-12 13:15 
GeneralRe: tried to use a case when inside a WHERE clause but did not work. Need more efficient way to cover all IF ELSE scenarios. Pin
R. Giskard Reventlov10-Oct-12 13:28
R. Giskard Reventlov10-Oct-12 13:28 
GeneralRe: tried to use a case when inside a WHERE clause but did not work. Need more efficient way to cover all IF ELSE scenarios. Pin
Jörgen Andersson10-Oct-12 22:26
professionalJörgen Andersson10-Oct-12 22:26 
It was a proper answer with good suggestions considering the info available. That we don't know the requirements should have been obvious to you as you haven't told us.

The suggestion that you need to modularize the code still stands though, but as you're limited to using only one sproc makes everything quite hard (what kind of requirement is that by the way?)
It seems though as you all the time use the same query with different filtering, so one way is to use a view for the main query, performance will suffer though.
Light moves faster than sound. That is why some people appear bright, until you hear them speak.
List of common misconceptions

GeneralRe: tried to use a case when inside a WHERE clause but did not work. Need more efficient way to cover all IF ELSE scenarios. Pin
Shameel11-Oct-12 0:27
professionalShameel11-Oct-12 0:27 
GeneralRe: tried to use a case when inside a WHERE clause but did not work. Need more efficient way to cover all IF ELSE scenarios. Pin
Eddy Vluggen11-Oct-12 0:35
professionalEddy Vluggen11-Oct-12 0:35 
QuestionHow to retrieve client IP address from sql server database Pin
Tridip Bhattacharjee9-Oct-12 20:53
professionalTridip Bhattacharjee9-Oct-12 20:53 
AnswerRe: How to retrieve client IP address from sql server database Pin
Herman<T>.Instance10-Oct-12 1:20
Herman<T>.Instance10-Oct-12 1:20 
QuestionMySQL code- Problems with cade when inside a WHERE clause Pin
SQL Ed9-Oct-12 11:31
SQL Ed9-Oct-12 11:31 
AnswerRe: MySQL code- Problems with cade when inside a WHERE clause Pin
Jörgen Andersson9-Oct-12 11:47
professionalJörgen Andersson9-Oct-12 11:47 
QuestionDatabase connectivity failure when using ODBC Pin
bharath_ben9-Oct-12 3:16
bharath_ben9-Oct-12 3:16 
AnswerRe: Database connectivity failure when using ODBC Pin
Jochen Arndt9-Oct-12 3:43
professionalJochen Arndt9-Oct-12 3:43 
GeneralRe: Database connectivity failure when using ODBC Pin
bharath_ben28-Nov-12 3:46
bharath_ben28-Nov-12 3:46 
QuestionSQL counting Pin
Qazzy648-Oct-12 8:27
Qazzy648-Oct-12 8:27 
AnswerRe: SQL counting Pin
scottgp8-Oct-12 9:33
professionalscottgp8-Oct-12 9:33 
GeneralRe: SQL counting Pin
Qazzy648-Oct-12 10:07
Qazzy648-Oct-12 10:07 
QuestionRe: SQL counting Pin
Eddy Vluggen8-Oct-12 13:25
professionalEddy Vluggen8-Oct-12 13:25 
AnswerRe: SQL counting Pin
Qazzy648-Oct-12 17:35
Qazzy648-Oct-12 17:35 
GeneralRe: SQL counting Pin
Eddy Vluggen9-Oct-12 5:08
professionalEddy Vluggen9-Oct-12 5:08 
GeneralRe: SQL counting Pin
Qazzy649-Oct-12 7:16
Qazzy649-Oct-12 7:16 
QuestionProblem in Import XML File From SSIS Pin
mos_tafino@hotmail.com8-Oct-12 1:31
mos_tafino@hotmail.com8-Oct-12 1:31 

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.