Click here to Skip to main content
15,905,682 members
Home / Discussions / Database
   

Database

 
AnswerRe: Improve the speed of Function Pin
PIEBALDconsult17-Feb-09 16:05
mvePIEBALDconsult17-Feb-09 16:05 
AnswerRe: Improve the speed of Function Pin
Mycroft Holmes17-Feb-09 16:05
professionalMycroft Holmes17-Feb-09 16:05 
GeneralRe: Improve the speed of Function Pin
member2718-Feb-09 3:41
member2718-Feb-09 3:41 
AnswerRe: Improve the speed of Function Pin
Wendelius17-Feb-09 17:57
mentorWendelius17-Feb-09 17:57 
Questionquery to get results from 4 tables Pin
icanmakeiteasy17-Feb-09 0:29
icanmakeiteasy17-Feb-09 0:29 
AnswerRe: query to get results from 4 tables Pin
Wendelius17-Feb-09 1:37
mentorWendelius17-Feb-09 1:37 
GeneralRe: query to get results from 4 tables [modified] Pin
icanmakeiteasy17-Feb-09 1:54
icanmakeiteasy17-Feb-09 1:54 
GeneralRe: query to get results from 4 tables Pin
Wendelius17-Feb-09 2:36
mentorWendelius17-Feb-09 2:36 
So did I understand correctly, table1 contains info about users andtheir work periods and you want to find users having work in certain period. If that's the case, could it be something like
select ...
from table1
where startdate between periodstart and periodend
or enddate between periodstart and periodend

where the periodstart and periodend are the dates you're interested in

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

GeneralRe: query to get results from 4 tables Pin
icanmakeiteasy17-Feb-09 19:02
icanmakeiteasy17-Feb-09 19:02 
AnswerRe: query to get results from 4 tables Pin
venu65617-Feb-09 1:45
venu65617-Feb-09 1:45 
GeneralRe: query to get results from 4 tables Pin
icanmakeiteasy17-Feb-09 1:57
icanmakeiteasy17-Feb-09 1:57 
AnswerRe: query to get results from 4 tables Pin
icanmakeiteasy17-Feb-09 22:45
icanmakeiteasy17-Feb-09 22:45 
QuestionCASE when false query [modified] Pin
foryou16-Feb-09 23:40
foryou16-Feb-09 23:40 
AnswerRe: CASE when false query Pin
foryou17-Feb-09 1:02
foryou17-Feb-09 1:02 
GeneralRe: CASE when false query Pin
Wendelius17-Feb-09 7:57
mentorWendelius17-Feb-09 7:57 
GeneralRe: CASE when false query Pin
foryou17-Feb-09 22:47
foryou17-Feb-09 22:47 
GeneralRe: CASE when false query Pin
Wendelius18-Feb-09 7:37
mentorWendelius18-Feb-09 7:37 
GeneralRe: CASE when false query Pin
foryou19-Feb-09 1:55
foryou19-Feb-09 1:55 
GeneralRe: CASE when false query Pin
Wendelius19-Feb-09 5:53
mentorWendelius19-Feb-09 5:53 
GeneralFormulas in SQL Server Reporting Services Pin
dboy22116-Feb-09 11:04
dboy22116-Feb-09 11:04 
GeneralRe: Formulas in SQL Server Reporting Services Pin
Diving Flo17-Feb-09 23:44
Diving Flo17-Feb-09 23:44 
QuestionIn search of a better solution... Pin
Jörgen Sigvardsson16-Feb-09 6:50
Jörgen Sigvardsson16-Feb-09 6:50 
AnswerRe: In search of a better solution... [modified] Pin
Wendelius16-Feb-09 7:04
mentorWendelius16-Feb-09 7:04 
GeneralRe: In search of a better solution... Pin
Jörgen Sigvardsson16-Feb-09 8:35
Jörgen Sigvardsson16-Feb-09 8:35 
GeneralRe: In search of a better solution... Pin
Wendelius17-Feb-09 1:26
mentorWendelius17-Feb-09 1:26 

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.