osknockout
Jul 20 2007, 06:57 PM
| | Alright, for a few weeks I've been wondering about this. I'm a newbie when it comes to database languages. What's so special about the SQL family of languages that most people use it? Would there be any real difference if I made an SQL database with entries or if I setup a perl script - or any other web language - to do the same thing using plain text/binary files? |
Reply
jlhaslip
Jul 21 2007, 01:05 AM
Databases are suited for retaining data where there is lots of information or large datatsets. Flat files are good where there are small amounts of data and you have the skills to write the scripting to add/delete/edit those files yourself. Databases already have the scripts written for you to handle the read/write to the disc. D/b's are sorted and searched quicker because they are indexed by the SQL software, whereas the flat file system you would need to write the sort or search procedure yourself. If you expect more than a handful of bits of information, then a Database would be the way to go with your project, in my opinion.
Reply
Custergrant
Jul 21 2007, 01:18 AM
Os, I just started learning PHP and SQL to make my online game, but I would suggest using SQL, just because it's actually a rather simple language in my opinion and is great for storing information. But it really depends on what you're using it for I guess.
Reply
adiaz01
Sep 30 2007, 01:55 AM
QUOTE(osknockout @ Jul 20 2007, 02:57 PM)  Alright, for a few weeks I've been wondering about this. I'm a newbie when it comes to database languages. What's so special about the SQL family of languages that most people use it? Would there be any real difference if I made an SQL database with entries or if I setup a perl script - or any other web language - to do the same thing using plain text/binary files? As a mental jogging, please setup a perl script and try with a couple of thousend records in maybe 6 different text files, you will see the difficulty, specially when you include more than one user. Now if you really want to use text file try XML with Perl it'll work very good. But for large amount of data with more than one user I don't think you will find a better option than SQL server, the name does not matter to much for the concept, It'll matter on the price and the capacity.
Reply
Osangar
Oct 7 2007, 01:26 AM
If you're willing to write PERL scripts to manage data, then you're probably wanting to create something with more complexity or flexibility than a simple web page has to offer. For that Microsoft Frontpage and many other similar products exist. If you really want to control data, you're going to want to use a database. PERL is terrific, but it's not substitute for a database. What's so special about the SQL family of databases isn't really a good question to ask. The reason the "family" appears to exist is because it's nearly universally acknowledged that SQL (Structured Query Language) is the best basic tool for data access and manipulation and virtually every database supports it in one flavor or another. I've created Microsoft Access databases (which are much easier than most because of the interface it provides for database creation) and also spent the last three years writing SQL code for Microsoft SQL Server. The best reason for most people to get away from Access, would simply be the cost, switch to OpenOffice.org's database application, for example. But if you intend to build a website of your own, and will deal with any significant amount of data, a LAMP setup is tough to beat. (Linux [for the operating system] Apache [for the web server] MySql [for the database application] PHP/PERL [to tie things together]. It's free, as in free beer, not just free speech. It's stable and secure. And there is a plethora of documentation on the web. If you want to stay away from Linux, you still have options. How to implement a LAMP setup is too involved for a web post and besides good writing has already been done. LAMP - http://lamphowto.com/WAMP Windows/Apache/MySql/PHP-PERL - http://www.php-mysql-tutorial.com/XXAMP http://www.ibm.com/developerworks/edu/wa-dw-wa-lamp-i.htmlThat last is an integrated product designed to smooth installation of Apache/MySql/PHP-PERL. Distributions for Windows, Linux, Mac OSX and Solaris are offered and it is free of charge.
Reply
Recent Queries:--
sql advantage alternative - 149.82 hr back. (1)
-
sqladvantage - 285.82 hr back. (1)
-
sql advantage edit a record - 325.66 hr back. (1)
Similar Topics
Keywords : sql, advantage, n00b, questions
- Some Questions On Html
(6)
Warped Tour!
questions/excitement etc (0) OMG, the san diego/chula vista warped tour is coming up on august 14 along with the end of warped
tour.. i amm so excited! im on the guest list & i get to meet my favorite band.. slash/ the
most amazing lyrics writer ever.. Juliet Simms from automatic loveletter .. oh lalala (: well
hoping you guys went to the idk 500 previous shows this year.. or previous years.. i have some
questions.. on the dos and donts of warped tour.. (: Number 1: What to
wear???!?!??!?! i was thinking of wearing a black Chantelle Paige shirt with black
converse & shorts....
N00b Programmer
Need Tutorials (7) Hi, I am trying to learn C++ as I have been interested in mods and making games forever. I have been
unsecsessful in my search for good tutorials, guide or any kind of documentation on how to learn the
language and utilize it and program. any reccomendations or help would be very appreciated!
Thanks!....
Some Of The Biggest Questions In Life.
Things that make you go hmmmm... (3) NUMBER ONE! The current world record for a 100m dash is 9.72 seconds right?? But it's been
broken before and it's more than likely that at some point it will be broken. So what is the
highest that the 100m dash record will ever go. Technically there is no maximum that the record can
get to right? I mean you can always go a bit faster. But there also must be a limit to how fast
people can travel right? Everyone says you cant go faster than the speed of light, as we know the
speed of light equals 299 792 458 m / s right? So the maximum time that you can do it ....
Tax Deduction Questions...
(0) I was just looking at tax deductions because I'm buying a bunch of stuff for when I go downrange
and was planning on doing a tax write-off on that stuff. However, I'm not sure what is allowed
technically/legally, so if anyone could point me in the right direction, that would be cool.
Basically, I'm going off and buying a ton of stuff off of Ranger Joe's because we all know
that in today's Army, yesterday's Army, and the Army of yesteryear, the government has been
great in equipping the individual soldier with the best stuff to keep them alive. /....
A Couple Of Questions About Delphi
(3) 1. Is there a way to get a legal version of delphi 7 free? 2. Where are some tutorials for it? 3. Is
this is the wrong section?....
Some Questions About Qupis Hosting !
(2) Hi All, I have some more questions about Qupis hosting. 1.) Will my account get deleted suddenly
without notice ? 2.) When doing ajax on some applications. The text-ad appear on that data also.
Possible this limited to only a single whole pages ? Thanks Eric,....
Finance Section Suggested
We should have a section dedicated to financial information, questions (0) We should have a section dedicated to financial information, questions, comments and suggestions.
A possible subsection of the Finance section could be the Identity Theft section where people could
inform others of the risks the pose when divulging personal information to untrusted and unencrypted
websites, restaurants, vendors, etc. I wanted to post information on this topic but could not find
a suitable section to post in. Maybe I didn't read closely enough... if so, maybe i can post
here and the moderators can move my post, or quote me in the proper forum: ....
Document.write & Noscript Questions (javascript)
(1) I am trying to use javascript to include a stylesheet depending on the user's resolution. The
HTML CODE <head> <meta http-equiv="Content-Type" content="text/html;
<?php echo _ISO; ?>" /> <?php if ($my->id) {
initEditor(); } ?> <?php mosShowHead(); ?>
<noscript><link rel="stylesheet" type="text/css"
href="http://www.highimpactart.org/templates/_HighImpactArt_/1024/1024.css"
/></noscript> <script type="....
Questions?!
PHP (4) What is the standard code for PHP to add articles to your databse, for instance.....
Flash And Javascript Interaction
swfobject js questions (1) I don't know if anyone on here is familiar with this script. You can check it out here .
Basically it's a script that is supposed to give you javascript control over a flash object. I
am using it for a flv player. My question is this. I would like to display the current file's
title in a span element on the page, but the function described to gather the information for the
current file doesn't seem to work for me. The function, as outlined on on this page looks
like this: CODE function getUpdate(typ,pr1,pr2,swf) { if(typ == ....
Php Questions?!
From: alex1985 (19) Listen, as I'm novice in PHP, I will ask certain questions in this topic hoping on your
contribution. $dbhost='.....'; //The Database Information//
$dbhost='localhost'; $dbname='alex1985_test';
$dbusername='alex1985_admin'; $dbuserpass='0505009127'; //Creating
Connection To The Database// mysql_connect ($dbhost, $dbusername, $dbuserpass);
//Select The Certain Database// mysql_select_db ($dbname) or die ('Can Not Select
Database'); //Start The Session// //Always Must....
Questions About Upgrading A Freedom Package
(0) hi there, i have been a computing host client for a small time now... i purchased the plan b when i
began making my site, then i upgraded to the budget freedom package, now i am pondering what to do
next. Well the site isn't exactly highly trafficked, but i am using drupal which quite a
resource hog, so i am thinking of making the upgrade to fulfill those needs. So i am asking for an
advice on which package should i choose next... and i have to say that i am not comfortable managing
a vps as i am not experienced. so i am thinking of upgrading from 'budget freedom....
Group Limitations
Answer some questions about charectoriation from groups in earlier edu (0) I think that groups are very restrictive at schools. You just sort of fit into a group and than
stay their for the rest of your education. At least at my school we started out as a group in about
6th grade. After that it is basically the same people every year. Then every now and then their is
a new student that comes around and all the groups try to get the new guy to join them. I have to
say that it is somewhat funny how the groups just sort of start calling each other by a certain
name. For instance in my school we have the farmer hicks, the thespians, and the pe....
What's The Problem With America's Youth?
I have the questions, I want your answers... (69) What is the problem with America's youth? Not just violence, but things like skipping school,
dropping out, failing, the insane ability to destroy the English language, and i guess violence too.
What causes students to feel compelled to skip school? Is it some kind of "Fight the Man"
mentality? Of course no one realizes that working at McDonald's for the rest of your life
isn't as bad as going to school for five* (yes, only five) hours a day. Most likely because the
people telling them this are the ones considered to be "The Man" and they must be disobeyed a....
What Is The Advantage Of Safe Mode Off?
Why is "safe mode off" a good thing? (3) I've seen a lot of webhosts where a paid upgrade is "Safe Mode OFF". I know here at Trap17 that
it's turned off by default on all webhosting, but I'd just like to know, why is this an
advantage? What features that are enabled are so important that they have to be disabled in safe
mode?....
Rpg Maker 2003 Questions
Relating to battle... (2) What is the difference among "Pincer Attack", "Surround attack", and "Back Attack"? How do I change
the battle type? The three battle types are "traditional", "alternative", and "guage" What do
intelligence and agility do in RPG Maker 2003?....
Some American Football Questions
(6) So i have ( for an unknown reason ) been reading and watching quite a bit of American Football
related Fiction ( Bleachers and Playing for Pizza by John Grisham and Friday Night Lights, Remember
the Titans and Varsity Blues mainly )and a few questions have popped up: 1: What does being an All
American mean? 2: When Teams win a State title, doe they then go on to a competition between the
other State title winners to find the best in the country? 3: why are the plays so scripted, can
they not make it up on the fly? 4: In "Varsity Blues" the QB gets the clock to stop b....
Webdesign Frequently Askd Questions
is it posible to design a sercheingin in your website. (11) what i wanna no is is it posible to incorporate a custom search engin into your own website. for a
while now i have bin wondering is it posible to do this as i would like to try something like this
out. but i have heard of there being a way to do this in pearl but i no nothing of pearl does
annyone have anny tips or info on this? (i use frontpage and dreamweaver)....
I Have Several Random Questions...
Why Is This???? (8) ok these have been puzzling me if mineral water has been trickling down millions of years why does
it have a expiary date on the bottle??? do blind people dream? Do They Dream? Square root of pie?
hotdogs come in packs of 8 and hotdog rolls come in packs of 10 why?....
Questions About The Budget Freedom Plan
(4) I have been looking around for a new host and since I used to be hosted for free on T17 I remembered
you guys and have come back here!! (OT but is BuffaloHELP still around?) I have some
questions about this plan. 1. Who/where is the domain registrar that I will transfer to? How do I
make the transfer? Should I transfer now or when my contract with my current registrar is expiring?
2. Do you provide help with site migration? I have a lot of data but it's very disorganised. And
some SQL data has gone missing recently (very weird and annoying, which is why I ....
Dog Questions
Ask me anything about dogs! (26) PLEASE I really need to figure out a way to keep up my hosting credits. Since I am brain dead
about computers, school, relationships, sports, games, etc, would really like to see more activity
in this pet catagory. I got my first dog when I was less than 1 year old. And since I have now
passed the 1/2 century mark, I think I may of learned a thing or 2 about dogs. So ask me anything.
Really. I probably know it. Help me out here.....
Joomla Noob Questions
(4) Hey guys, I haven't used Joomla before and was wondering how easy it is to customize. Is there
a way to re-code customizable php features into a Joomla page? I was just wondering how flexible
it is and if it is a good tool for someone who already knows how to make a webpage(php) from scratch
by text editors. Is it just software for people who want to make web pages but can't code?
Please hit me back with your thoughts, Cheers.....
Allie's Advice
hey ppl! just ask me questions and i'll give u answers and adv (5) hey ppl! i am dead serious. just ask questions and i'll give u answers. (or advice) if u
don't want to type ur question for the whole board to see, you can email me privatley. include
ur name, city and state. (if in U.S) and if u give me ur email address in the note, that would be
easier 4 me. thx! /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0"
alt="biggrin.gif" /> don't pm me cuz i don't ever check that, so just email me at:
actress_gurl_94@yahoo.com u can talk to me about love problems, crushes, trouble, acting careers,
sin....
Dreamweaver Mx 2004: A Q&a Topic By Sean Mallon
Post Questions on How to Use Dreamweaver MX 2004 (5) Seeing there is a lack of good sources for information these days I'll begin with a quick
introduction... Dreamweaver (v1.0 - v8.0, MX and MX 2004) was programed, developed and compiled by
Macromedia (now part of Adobe Systems Inc.). This is a very good program and I highly recomend you
spend some denero and get this program. It's a WYSIWYG editor. The acronym menas What You See
Is What You Get. Some of the features of Dreamweaver MX 2004 include: The ability to view the
contents in WYSIWYG and HTML formats. Multi-Language (ASP, XHTML, ASP.NET ect...) The....
Dell D600 Questions
(2) Hello, i have a Dell D600 laptop, and i want to know if it is prossible to upgrade the processor to
the Dothan series , anyone tryed this?? The laptop specifications: Pentim M1.6 FSB 400 1mb L2
cache (Banias) 512MB 266DDR 1 modules (1 slot free) MotherBoard Intel i855PM Rev. 3, BIOS A16
Another question i have is this: This laptop come with a Ati RADEON 9000 with 32mb (not onboard),
and the aperture size is : 128mb, in the bios there isnīt a option to change it, So if i add a new
512mb module of ram(1GB total RAM), the system automatically will increase the ape....
Meta Tags
Sum general questions (7) 1. Are the meta tags really working? which search engines actually use them? 2. Do i have to declare
description and abstract meta tags in every page? and What are the differences between them? 3. Can
Keywords be the same across all pages? 4. What exactly is the content that should come inside a
copyright meta tag? (I use the name of the site and a full URL with the path to the "Legal Advice"
or something) 5. Language meta tag for spanish from mexico is just "es"? 6. What are the most common
and recomendable meta tags that we must try to include in our sites? These are....
Rpg Maker 2003 Questions
Questions in general (29) While looking for help on the 2003 edition, I could NOT find any sites that covered one-time events
or displaying your character name. I'll put this into context if it helps. The hero starts in
a house, with a pile of jewels on the table. I made an event where he can 'talk' to the
jewels, and gains 5 currency. I WANT this event to happen only once, but he can keep talking to the
jewels again and again. So, is there a way to make the jewels dissapear after use? After he steps
out of his house, he heads south and meets a little girl on the coast. She asks h....
Wap Forum
several questions on WAP forums (9) /blink.gif' border='0' style='vertical-align:middle' alt='blink.gif' /> Right i want to set up a
wap forum for rap battling. I think i need to use php, although i might need wml not sure. so
questions: 1) WML or PHP? 2) Can i get a forum/message board script? 3) Where can i get it? Thanks
in advance Not making helpful thread topics and titles results in warnings, or in extreme cases, a
ban. Don't fall into the crack. ....
Difference Between C, C++ And C#?
And some other questions. (15) What's the difference between C, C++ and C#? What is more closely related to working with
ASP.NET, C++, C#, or VB? Which comiler is best for C++ and/or C#? Are there any benefits in choosing
VB over C++ or C#? Z^ivjo HR....
Looking for sql, advantage, n00b, questions
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for sql, advantage, n00b, questions
*MORE FROM TRAP17.COM*
|
advertisement
|
|