Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 help with query

Author  Topic 

TiGGi
Starting Member

29 Posts

Posted - 2008-03-15 : 15:07:45
Hi all,
I need some help with making the query that will perform fastest...
Here's what I have, I have a dB of users and every user has set of variables such as Education, Duration, Location, Position and all of these are in a different table that has it's id and users id so I got 4 tables User_EDU, User_DUR, User_LOC and User_POS. Now what I need to do is take each users setting and find a jobs that match those settings. Jobs are locate in Jobs table and again these jobs have related tables for Education, Duration, Location, Position (JOB_EDU,JOB_DUR,JOB_LOC,JOB_POS) The result need to be just JOBID and USERID.

Can someone please help me?

TiGGi
Starting Member

29 Posts

Posted - 2008-03-16 : 14:38:05
anyone ?
Go to Top of Page

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2008-03-16 : 14:39:15
show us your query and we can help you on with that.

_______________________________________________
Causing trouble since 1980
blog: http://weblogs.sqlteam.com/mladenp
SSMS Add-in that does a few things: www.ssmstoolspack.com
Go to Top of Page

TiGGi
Starting Member

29 Posts

Posted - 2008-03-16 : 16:30:23
I don't have one right now, at least not in SQL
Go to Top of Page

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2008-03-16 : 17:01:46
any tries we can see?

_______________________________________________
Causing trouble since 1980
blog: http://weblogs.sqlteam.com/mladenp
SSMS Add-in that does a few things: www.ssmstoolspack.com
Go to Top of Page
   

- Advertisement -