If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Pervasive.SQL > What is LEFT OUTER JOIN in Pervasive SQL?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-16-07, 21:44
LimaCharlie LimaCharlie is offline
Registered User
 
Join Date: Oct 2005
Posts: 119
What is LEFT OUTER JOIN in Pervasive SQL?

I'm not very familiar w/ Pervasive SQL syntax. The SELECT query runs on MS SQL but syntax error in Pervasive SQL.

Here's my query in MS SQL
Quote:
SELECT CustomerTable.CustID, CustomerTable.CustName, ProductTable.ProdID
FROM CustomerTable LEFT OUTER JOIN ProductTable ON CustomerTable.ProdID=ProductTable.ProdID
I use LEFT OUTER JOIN because all data on CustomerTable should be displayed even if ProdID is null in value.

What's the equivalent syntax of LEFT OUTER JOIN in pervasive SQL? The query below runs on Pervasive SQL but I cannot do this query because it means INNER JOIN.

Quote:
SELECT CustomerTable.CustID, CustomerTable.CustName, ProductTable.ProdID
FROM CustomerTable
WHERE CustomerTable.ProdID=ProductTable.ProdID
Reply With Quote
  #2 (permalink)  
Old 04-16-07, 22:26
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
What version of PSQL are you using?
Here's a link to the v9.5 JOIN syntax:
http://www.pervasive.com/library/doc...ref-04-53.html
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #3 (permalink)  
Old 04-23-07, 23:57
LimaCharlie LimaCharlie is offline
Registered User
 
Join Date: Oct 2005
Posts: 119
thanks mirtheil :-)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On