Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

ERROR 3070 when creating a table - response (6) by Qaisar Aftab Kiani

$
0
0
First of all you need to take out the AS keywords before the data type name. Secondly VARCHAR(MAX) is not a datatype - you need to mention some numeric value instead of MAX. Something like this will work for you... CREATE TABLE RL_Comments ( uidComments DECIMAL(5,0) NOT NULL, dteComments TIMESTAMP, Account_Number DECIMAL(8,0), Sort_Code DECIMAL(6,0), Excess_Explanation VARCHAR(200), Comments VARCHAR(200), Sanction_Ref VARCHAR(200), Total_Limit_Amt DECIMAL(15,0), Sanction_Expiry DATE, Diary_Date DATE, Excess_Report VARCHAR(5), User_Ref VARCHAR(50) ) PRIMARY INDEX(uidComments)  

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>