Using Delphi's Database Explorer on a Paradox table and cannot seem to get a nested query to reference the outer table e.g.
SELECT
PayFreq,
(select count(*) from LocalEmps2 AS E2
WHERE E2.PayFreq = E1.PayFreq) FCount
FROM LocalEmps1 E1
GROUP BY PayFreq
Returns FCount as zero...
Inserting data into an SQL2000 table from Paradox, but get an "Invalid Parameter" error if I try to use a constant e.g.
Insert into ":SQLDatabase:SQLTable"
(Members_Code, User_Ref)
Select Members_Code, 13
From ParadoxTable
Works fine if I change 13 for an integer...
Have used heterogeneous queries successfully before but cannot understand why the following doesn't work.
INSERT INTO ":SQLSRVR:Table1" (Members_Code)
SELECT Members_Code FROM ":localStuff:Table2"
SQLSRVR is the SQL Server defined via the ODBC.
LocalStuff is the database...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.