Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Syntax query

Status
Not open for further replies.

nidgep

Programmer
Sep 4, 2001
80
GB
Hi
Can anyone offer advice as to what the (+) entry within the following sql syntax is actually doing please?

Code:
[COLOR=blue]
	strSQL = "SELECT * FROM customers, cust_titles, cust_addr,cust_codes"
		strSQL = strSQL & " WHERE custcodes=code(+)"
		strSQL = strSQL & "  AND title=titleid(+)"
		strSQL = strSQL & "  AND customer=customerid"
		strSQL = strSQL & "  AND edate is NULL"
		strSQL = strSQL & "  AND customerid=?"
		set getCustomerByLink=ExecQueryRS(strSQL,Array(adNumeric,10,linkRS("customerID")))

[/color]
 
looks like an Oracle Query
Specifies left or right joins if I remember correctly

“I sense many useless updates in you... Useless updates lead to fragmentation... Fragmentation leads to downtime...Downtime leads to suffering..Fragmentation is the path to the darkside.. DBCC INDEXDEFRAG and DBCC DBREINDEX are the force...May the force be with you" --
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top