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 2000 Forums
 Transact-SQL (2000)
 Syntax Question

Author  Topic 

Ken Blum
Constraint Violating Yak Guru

383 Posts

Posted - 2004-02-04 : 10:32:59
I have a program that generated this SQL Statement. I do not understand the use of the braces {} or the "oj". Can someone tell me the purpose of such?

SELECT Customers.CustomerID, Orders.OrderID
FROM {oj dbo.Customers Customers LEFT OUTER JOIN dbo.Orders Orders ON Customers.CustomerID = Orders.CustomerID}


Thanks in advance.

nr
SQLTeam MVY

12543 Posts

Posted - 2004-02-04 : 11:10:10
Think the {} is telling sql server to execute an odbc command
oj means outer join


==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -