LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-20-2007, 09:58 PM   #1
creolophus
Member
 
Registered: Nov 2005
Posts: 34

Rep: Reputation: 15
data type for text files in a database


Hi,

I need to store text files (10K - 30K max) in an Oracle database for a light-weight content-management-system.

(I know I don't need a database for that, but I want to experiment!)

Which data type would be best ? I think CLOB would do fine, but is it the only option?

I mean, MySQL has types like mediumtext, etc. Is there anything like that?

And, I use (or my college uses) version 9i

Thanks
 
Old 06-20-2007, 11:17 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Yup - CLOB probably sounds like the best way to go.

You can also use a LONG.

for whatever it's worth, here's a comparison of your options:

http://www.ss64.com/orasyntax/datatypes.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert DOS text files to UNIX text files ta0kira Linux - Software 7 03-15-2011 11:42 AM
extracting data from html files into one text file adityavpratap Slackware 9 05-10-2007 10:30 AM
installing redhat 8.0 when text login in I cannot type password?? I type root scrist Linux - General 4 04-22-2006 02:20 AM
rpm database type and utility like windows update services kamii47 Linux - General 8 04-18-2005 07:09 AM
Database type proggie DaFrEQ Linux - Software 2 02-06-2003 08:42 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration