Solved

Join not allowed sql server , need a replacement query...

Posted on 2006-11-04
1
245 Views
Last Modified: 2011-09-20
I need to run this query as shown below....

select
'/MediaDisplay/'+
right (convert(varchar(20), media.tableuid), 2) +
'/lr' + media.mediaSource as uri,
prp.acres, prp.bathsfull as bathroom, prp.bathshalf, prp.bed1dim, prp.bed2dim, prp.bed3dim, prp.bed4dim,
prp.mlsnum as lee2_id from prp
join media on media.mlsnum=prp.mlsnum
where listprice>0

However I get this error message:
Cannot specify outer join operators in a query containing joined tables. View or function 'tempo.dbo.dd_prp_flat' contains outer join operators.

I didn't write the views but I assume they have joins in them, how can i get this query working in another way...
0
Comment
Question by:coastman14
1 Comment
 
LVL 35

Accepted Solution

by:
Raynard7 earned 175 total points
ID: 17874958
select
'/MediaDisplay/'+
right (convert(varchar(20), media.tableuid), 2) +
'/lr' + media.mediaSource as uri,
prp.acres, prp.bathsfull as bathroom, prp.bathshalf, prp.bed1dim, prp.bed2dim, prp.bed3dim, prp.bed4dim,
prp.mlsnum as lee2_id from prp, media
where listprice>0 and media.mlsnum=prp.mlsnum
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question