Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: SQL Oracle
what can i use for varchar(8000) to make it compatible in Oracle 9i
i tried using long but ive more than one cols having varchar(8000) so dLong does not work i even tried clob but its giving me this error
[Execute SQL Task] Error: Executing the query 
"CREATE TABLE "PH_TxnReview" ( "ReviewId" VARCHAR2(100) NOT NULL, "PoornataId" VARCHAR2(100) NOT NULL, "Year" VARCHAR2(50), "ReviewType" VARCHAR2(10) NOT NULL, "SendDate" VARCHAR2(100), "SendMail" NUMBER(1,0), "IsApprove" NUMBER(1,0), "ApprovedBy" VARCHAR2(100), "ApprovedDate" VARCHAR2(100), "OverallEmpComments" CLOB, "OverallMgrComments" CLOB, "StrengthExhibited" CLOB, "ImprovementOpportunity" CLOB, "SupportRequired" CLOB, "CreatedBy" VARCHAR2(100), "CreatedDate" VARCHAR2(100), "ModifiedBy" VARCHAR2(100), "ModifiedDate" VARCHAR2(100), "SendNotificationToMgrDate" VARCHAR2(100) ) " failed with the following error: "ORA-01658: unable to create INITIAL extent for segment in tablespace USERS ". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. 
please help , Thanks in Advance !!!!!
Posted 1-Nov-12 1:35am
Edited 1-Nov-12 1:59am
Mehdi Gholam236.9K
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

VARCHAR2 on Oracle 9i can store up to 4000 chars : http://ss64.com/ora/syntax-datatypes.html[^]
 
So you should be fine with that otherwise you should use CLOB.
 
The error ORA-01658 refers to the lack of space in the storage files : http://www.dba-oracle.com/sf_ora_01658_unable_to_create_initial_extent_for_segment_in_tablespace_string.htm[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 410
1 Gihan Liyanage 338
2 ChauhanAjay 180
3 Vinay Mistry 160
4 Sergey Alexandrovich Kryukov 138
0 Sergey Alexandrovich Kryukov 9,011
1 OriginalGriff 7,941
2 CPallini 2,603
3 Richard MacCutchan 2,121
4 Abhinav S 1,928


Advertise | Privacy | Mobile
Web02 | 2.8.140827.1 | Last Updated 1 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100