Article ID: 163420
Article Last Modified on 10/16/2002
SELECT * FROM FORCE test1 ;
INNER JOIN test2 ON test2.id = test1.id ;
INNER JOIN test3 ON test3.id = test2.id
SELECT * FROM FORCE test1 ;
INNER JOIN (test2 INNER JOIN test3 ON test3.id = test2.id );
ON test2.id =test1.id
CLOSE ALL
SET ECHO OFF
SET TALK OFF
CREATE TABLE test1 (ID C(15),Dummy C(15))
CREATE TABLE test2 (ID C(15),Dummy C(15))
CREATE TABLE test3 (ID C(15),Dummy C(15))
CLOSE ALL
WAIT WINDOW NOWAIT "filling test1"
USE test1
INDEX ON ID TAG ID
FOR x = 1 TO 71894
APPEND BLANK
REPLACE ID WITH SYS(2015)
NEXT
GO TOP
REPLACE NEXT 2 ID WITH "TEST"
WAIT WINDOW NOWAIT "filling test2"
USE test2
INDEX ON ID TAG ID
FOR x = 1 TO 30622
APPEND BLANK
REPLACE ID WITH SYS(2015)
NEXT
GO TOP
REPLACE NEXT 2 ID WITH "TEST"
WAIT WINDOW NOWAIT "filling test3"
USE test3
INDEX ON ID TAG ID
FOR x = 1 TO 90000
APPEND BLANK
REPLACE ID WITH SYS(2015)
NEXT
GO TOP
REPLACE NEXT 2 ID WITH "TEST"
CLOSE ALL
SELECT * FROM test1,test2,test3 ;
WHERE test1.id=test2.id AND test2.id=test3.id
SELECT * FROM test1 ;
INNER JOIN test2 ON test2.id = test1.id ;
INNER JOIN test3 ON test3.id = test2.id
SELECT * FROM test1 ;
INNER JOIN (test2 INNER JOIN test3 ON test3.id = test2.id );
ON test2.id =test1.id
Keywords: kbbug kbfix kbvfp500afix kbusage KB163420