Teradata SQL重复插入语句
Teradata非常陌生,并试图弄清楚如何重复简单的插入语句。
我有以下陈述
Insert into Test (Id) values ((sel max (Id)+1 from test))
,我将重复20次。
pretty new to teradata and trying to figure out how to repeat a simple insert statement.
I have the following statement
Insert into Test (Id) values ((sel max (Id)+1 from test))
And I would to repeat this 20 times.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

为了运行语句20次
,但实际上您只需要一个身份列,这将排除需要插入20次增量值的需求。
For the purposes of running the statement 20 times
But in reality you would simply need an identity column which would preclude the need to insert incremental value 20 times.