2016-02-16 30 views

回答

0

要創建同義詞,使用此功能HAlias()

// Create an alias for the ORDERS file 
// (Syntax available from version 19) 
Orders2013 is Data Source <description=Orders> 
IF HAlias(Orders, Orders2013) = True THEN 
// ORDERS2013 can now be used in the processes 
// It behaves the same way as 
// the ORDERS file described in the analysis. 
// Modify the directory 
HChangeDir(Orders2013, "D:\SalesMgt\Archive2013") 
// Modify the name 
HChangeName(Orders2013, "Orders") 
HOpen(Orders2013) 
... 
// Processes on the Orders2013 file 
... 
END 
// Cancel the alias 
HCancelAlias(Orders) 
+0

我只想訪問USER表。由於USER是關鍵字,我無法通過ODBC訪問數據庫。我安裝了ODBC,它適用於其他表... – nawfal