title: want to insert statement in a loop in teradata
body: <p>I'm inserting data into table from another table using below query in Teradata and I want to run this statement until table reaches 20GB. So I want to run below statement in a loop to achieve that. However I written one but it's giving query invalid error when I'm trying to execute. Could you please help me as I'm new to Teradata. Thanks.</p>
  <pre><code>insert into schema1.xyx select * from schema2.abc;
  </code></pre>