Viewing 15 posts - 2,116 through 2,130 (of 2,267 total)
I would do something like this
WHERE cr.role = ('MAIN') and cr.contact_number not in(select contact_number from Contract_Roles where cr.role= "PREX")
AND cp.mail = 'Y' AND (org.status In ('BRAN','FULL'))
The subquery (select contact_number...
June 20, 2008 at 4:02 am
Okay makes sense, do your contacts have a unique indentifier?
June 20, 2008 at 3:48 am
WHERE cr.role In ('MAIN') AND cr.role != ('PREX') AND cp.mail = 'Y' AND (org.status In ('BRAN','FULL'))
should be
WHERE cr.role = ('MAIN') AND cp.mail = 'Y' AND (org.status In ('BRAN','FULL'))
You shouldn't...
June 20, 2008 at 3:37 am
How do you use Windows Authentication to secure specific reports?
June 20, 2008 at 2:58 am
Peso (6/19/2008)
See http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=105157
A lot of servers will have xp_cmdshell turned off for security reasons.
June 19, 2008 at 8:08 am
There a lot of jobs out there for experienced BI developers and designers it is a really interesteing and growing area as a lot of companies are looking at getting...
June 19, 2008 at 7:12 am
What are the rules for updating Type and Brand how do these relate to the LOC_ID ?
This situation looks like it could be handled better with a lookup table...
June 19, 2008 at 4:04 am
First Question: Have you used reporting services?
June 19, 2008 at 3:20 am
It sounds like you are doing something wrong having 500 clauses using IN.
can you put these into a lookup table and match on that? it would be...
June 18, 2008 at 8:54 am
No it doesn't sorry.
You could maybe try something with the Transactional Log and do a point in time restore of your data.
June 18, 2008 at 7:46 am
If a student is absent for five or more times, which date would you like the query to return?
June 18, 2008 at 5:14 am
I was just being curious, I like to find out why people are doing things in certain way in SQL queries.. This sounds like something that the Government would do...
June 17, 2008 at 9:27 am
Does this selection method have reasoning based up Statistical Theory?
What are the regulations/reasons for not selecting 30 random people from the 100 ?
June 17, 2008 at 9:14 am
I am curious why you need this information.
Are you preparing to write the monster SELECT statement and want to see what system can handle it?
Or are you simply doing a...
June 17, 2008 at 8:27 am
Viewing 15 posts - 2,116 through 2,130 (of 2,267 total)