How do I reference a remote table so that I can use a SELECT statement and put the results into a cursor? I have already established my connection with the server.(SQL Server)
This is my code using a local table:
SELECT TOP 1 * FROM table INTO CURSOR table_cur ;
WHERE ALLTRIM(table.field1) == m.field1 ;
ORDER BY table.field1
Should I use SQLEXEC, SQLPREPARE?
Thank you,
Marissa
This is my code using a local table:
SELECT TOP 1 * FROM table INTO CURSOR table_cur ;
WHERE ALLTRIM(table.field1) == m.field1 ;
ORDER BY table.field1
Should I use SQLEXEC, SQLPREPARE?
Thank you,
Marissa