tags:

views:

74

answers:

6

can we say textfile is a database..... as we know that database is a collection of data and database allow easily retrive amd manipulation.... but these things we can also do with textfile...sothat my question is text file is a database or not...

+5  A: 

I'd call it a datastore instead. Maybe even a datasource.

Database has the connotation of organization or order. A collection of things in their places. Sometimes they even store non-textual data.

p.campbell
but we can also stored interrelated and meaningfull data in text file...for instance we can store session information in text file...we can also store record of a student which can we imported by sql server 2008.......can u define non textual data please ?
Nishant
@Nishant: images, binary
p.campbell
+1  A: 

Yes. They can even be treated as entities and used in Unix text tools in relational terms (join,cat(union),grep(select),cut(project)) and use awk (and perl) for a traditional record-by-record predicate/action programming model (SQL).

I would not however, call a collection of text files a database MANAGEMENT system.

Xepoch
A: 

Database

A collection of (usually) organized information in a regular structure, usually but not necessarily in a machine-readable format accessible by a computer; A software program for storing, retrieving and manipulating a database.

A text file does not fit this description.

DMin
Acording to you if we have a software for manipulate a file then that file will become database.......?of course there is some software that manipulate and retrive ,modifyu data in text file....while we import text file with the help of sql server that's means what at that position we do retriving process so i want to say there is some software that insert data in text file..........
Nishant
text files are text files. databases are databases. You can't my any stretch of imagination say ANY text file is a database. Some files that can be edited using text editors can be used to import data into databases does not mean all text files are databases -- Eg: 'You're a guy -> You can make websites -- This does not imply all guys universally from hereon-forth will be called web-developers.'
DMin
Incomplete comparison. Binary files are binary files. These files can be tablespace storage for your database or your favorite birthday party JPEG.
Xepoch
What you're saying is apples and oranges are both fruits, so, they're the same. What I'm saying is. They are the same because they are fruits but apples are still apples and oranges still oranges. And if someone asks (me/you) can apples be considered oranges? I would say either they don't know anything, or, they're just screwing around with your head for fun.
DMin
A: 

I believe a text file can be a database, but of course that does not mean every text file is a database. From the wording of your question, it sounds like you're asking are textfiles are databases, and my response is that they can be, but do not have to be.

Airjoe
+1  A: 

Database is more than just storage. It is also access to that storage which implies: security, authorization, transactions, relations, etc

Zepplock
but we can also put security, authorization.......but i want to ask about database .....relation comes under relational database....
Nishant
A: 

Calling it a database may not be invalid, but it will be misleading to a lot of people. Naming something a database often raises the expectation that you can interface against it with some sort of SQL among other things.

Kvisle