首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >hyperfilesql和保留关键字user中的同义词

hyperfilesql和保留关键字user中的同义词
EN

Stack Overflow用户
提问于 2016-02-16 23:53:59
回答 1查看 54关注 0票数 0

如何在HyperFileSQL中创建同义词

我有一个名为USER的表,不能通过ODBC访问它。我不能重命名它,所以我想为它创建一个同义词。我该怎么做呢?

EN

回答 1

Stack Overflow用户

发布于 2016-05-16 23:39:57

要创建同义词,请使用此函数HAlias()

代码语言:javascript
复制
// 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
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/35437075

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档