簡體   English   中英

hyperfilesql中的同義詞和保留關鍵字user

[英]Synonyms in hyperfilesql and reserved keyword user

如何在HyperFileSQL創建同義詞?

我有一個名為USER的表,無法通過ODBC訪問它。 我無法重命名,所以我想為其創建同義詞。 我該怎么做呢?

要創建同義詞,請使用此功能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)

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM