Click here to Skip to main content
15,920,632 members
Home / Discussions / Database
   

Database

 
AnswerRe: MySQL Pin
dybs22-Jan-10 20:08
dybs22-Jan-10 20:08 
GeneralRe: MySQL Pin
Muammar©22-Jan-10 20:45
Muammar©22-Jan-10 20:45 
GeneralRe: MySQL Pin
loyal ginger25-Jan-10 5:02
loyal ginger25-Jan-10 5:02 
GeneralRe: MySQL Pin
dybs25-Jan-10 15:11
dybs25-Jan-10 15:11 
GeneralRe: MySQL Pin
loyal ginger25-Jan-10 16:58
loyal ginger25-Jan-10 16:58 
QuestionParamaterised access queries Pin
Russell Jones21-Jan-10 23:31
Russell Jones21-Jan-10 23:31 
AnswerRe: Paramaterised access queries Pin
Eddy Vluggen21-Jan-10 23:58
professionalEddy Vluggen21-Jan-10 23:58 
QuestionNeed some advices on SQL INTERSECT Function Pin
James Shao21-Jan-10 21:19
James Shao21-Jan-10 21:19 
Hi guys, I am currently trying to create a powerful stock market scanner, like the one Yahoo or Google has.   The scanner will allow users to choose among some 50 parameters to scan through several thousand stocks.

I am not sure how Yahoo or Google does it, but the only way I know is by using a SQL INTERSECT query.   The query statement probably needs to be reconstructed each time an user adds additional parameter.   So when a parameter is added, I'll simply append "INTERSECT [new sql query goes here]" into one big long query string.   Wink | ;)

Conceptually, it'll be like this:

SQL Query 1 (parameter 1)
INTERSECT
SQL Query 2 (parameter 2)
INTERSECT
SQL Query 3 (parameter 3)
INTERSECT
..
..

Is this method the best approach to create a scanner?   I thought all other methods (INNER JOIN, Views, CTEs, nested query) would result in over-complicated query strings.

Or is there a better method (the scanner in Yahoo/Google seems to run really fast)?   Roll eyes | :rolleyes:

I'd greatly appreciate any suggestions!!   Thanks as always!  
AnswerRe: Need some advices on SQL INTERSECT Function Pin
Dimitri Witkowski24-Jan-10 6:04
Dimitri Witkowski24-Jan-10 6:04 
AnswerRe: Need some advices on SQL INTERSECT Function Pin
Mycroft Holmes24-Jan-10 10:44
professionalMycroft Holmes24-Jan-10 10:44 
GeneralRe: Need some advices on SQL INTERSECT Function Pin
James Shao25-Jan-10 12:06
James Shao25-Jan-10 12:06 
QuestionA Question About Architecture Pin
Roger Wright21-Jan-10 18:02
professionalRoger Wright21-Jan-10 18:02 
AnswerRe: A Question About Architecture Pin
Mycroft Holmes21-Jan-10 21:45
professionalMycroft Holmes21-Jan-10 21:45 
GeneralRe: A Question About Architecture Pin
Roger Wright22-Jan-10 19:41
professionalRoger Wright22-Jan-10 19:41 
GeneralRe: A Question About Architecture Pin
Mycroft Holmes22-Jan-10 20:37
professionalMycroft Holmes22-Jan-10 20:37 
GeneralRe: A Question About Architecture Pin
Roger Wright22-Jan-10 21:00
professionalRoger Wright22-Jan-10 21:00 
QuestionSQL Server Agent not displayed in Object Explorer in SQL Server 2005 Express Edition Pin
tannghia21-Jan-10 16:13
tannghia21-Jan-10 16:13 
AnswerRe: SQL Server Agent not displayed in Object Explorer in SQL Server 2005 Express Edition Pin
Eddy Vluggen22-Jan-10 0:11
professionalEddy Vluggen22-Jan-10 0:11 
Questionout parameters workaround for Ms Access [solved] [modified] Pin
Dan Mos21-Jan-10 10:28
Dan Mos21-Jan-10 10:28 
AnswerRe: out parameters workaround for Ms Access Pin
Mycroft Holmes21-Jan-10 12:05
professionalMycroft Holmes21-Jan-10 12:05 
GeneralRe: out parameters workaround for Ms Access Pin
Dan Mos22-Jan-10 3:13
Dan Mos22-Jan-10 3:13 
AnswerRe: out parameters workaround for Ms Access Pin
Pranay Rana21-Jan-10 17:51
professionalPranay Rana21-Jan-10 17:51 
GeneralRe: out parameters workaround for Ms Access Pin
Dan Mos22-Jan-10 3:09
Dan Mos22-Jan-10 3:09 
QuestionComposite primary key Table Insertion Problem in SQL Pin
vishnukamath20-Jan-10 22:37
vishnukamath20-Jan-10 22:37 
AnswerRe: Composite primary key Table Insertion Problem in SQL Pin
Bassam Saoud22-Jan-10 5:03
Bassam Saoud22-Jan-10 5:03 

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.