定义要在函数中使用的列别名 [英] Defining a Column alias to use in a function

查看:94
本文介绍了定义要在函数中使用的列别名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个查询,其列需要具有Memo的数据类型,我能够使用此函数实现;

I have a a query with a column that needs to have a data type of Memo, which I am able to achive with this function;

展开 | 选择 | 换行 | 行号

推荐答案

目前还不清楚你要做什么。


我可以告诉你使用保留字(备忘录)作为其他对象的名称可能会使您(和编译器)产生一些混淆。


NB。如果你想让任何人帮忙,请清楚地解释一下,这样我们就可以理解你想要的东西,而不必问太多问题。
It''s really not clear what you''re trying to do.

I can tell you that using reserved words (Memo) as names for other objects is likely to cause you (and the compiler) some confusion.

NB. Please, if you want anyone to help, explain yourself clearly such that we can understand what you want without having to ask too many questions.



我真的不清楚你要做什么。


我可以告诉你,使用保留字(Memo)作为其他对象的名称可能会导致你(和编译器)有些混乱。
It''s really not clear what you''re trying to do.

I can tell you that using reserved words (Memo) as names for other objects is likely to cause you (and the compiler) some confusion.



我同意NeoPa - 您需要理清命名对象的方式,然后查看代码是否有效。这个论坛和互联网上的其他地方有很多帮助可以帮助你做到这一点。

I''d agree with NeoPa - you need to sort out the way you are naming objects and then see if your code works. There''s lots of help available in this forum and elsewhere on the Internet to help you do this.


...除了NeoPa和YouMike的评论之外,我还会提出疑问。你怎么可能有功能备忘录工作。根据你所展示的内容,它是无限递归的(调用自身没有结束)。如果你查看函数定义,你会看到他们自己调用,如下所示:

...and in addition to the comments made by NeoPa and YouMike I would question how you could ever have had function Memo working. According to what you have shown, it is infinitely recursive (calls itself without end). If you look at the function definitions you will see they call themselves, like this:

展开 | 选择 | Wrap | 行号


这篇关于定义要在函数中使用的列别名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆