Teradata Database Message 5586 - 5586 - Analytics Database - Teradata Vantage
Analytics Database Messages
- Deployment
- VantageCloud
- VantageCore
- Edition
- Enterprise
- IntelliFlex
- VMware
- Product
- Analytics Database
- Teradata Vantage
- Release Number
- 15.xx,16.xx,17.xx
- Published
- June 2022
- ft:locale
- en-US
- ft:lastEdition
- 2023-01-05
- dita:mapPath
- sfx1628096178347.ditamap
- dita:ditavalPath
- ft:empty
- dita:id
- B035-1096
- lifecycle
- latest
- Product Category
- Teradata Vantageā¢
- Message
- Random not allowed in inserted column value(s).
- Explanation
- Use of random function disallowed for either of the cases: 1.) For creating a PI column value in a simple insert statement like, insert t1 (random(1,10),...). 2.) For insert/update of column(PI or non-PI) value(s) through mload. As the random function may produce inconsistent results.
- Generated By
- OptIns,OptEdIns,OptEdUpd
- For Whom
- End User.
- Notes
- None
- Remedy
- Use insert select if you have to use Random in PI columns insert into t1 select (random(1,10),...);