Go Back   Science Forums > Physical Sciences Forums > Computer Science and Technology
Reply
 
LinkBack Thread Tools
Old 12-15-2004   #1 (permalink)
TINNY's Avatar
Explaining


 



Not Ranked  0 score     
Sql

I created this thread so that I can ask questions when i stumble upon problems with SQL.

so the first question is Can I add an additional column on an existing database? How?
Reply With Quote
Old 12-15-2004   #2 (permalink)
Tormod's Avatar
Hypographer

Administrator
Senior Editor
Editor
Dev Team Member

Location:
Oslo, Norway
 
Tormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond repute
 



Not Ranked  0 score     
Re: Sql

It does depend slightly on which database you are using.

Here is how you add a column to a table in MySQL:

ALTER TABLE tablename ADD columnnate data_type;

Example:

ALTER TABLE Customers ADD Last_Name VARCHAR(30);


----------------
Your Friendly Neighborhood Administrator

Want to lose the advertisements? Become a Sponsor!

Join our Facebook group or follow us on Twitter

Science is not only compatible with spirituality; it is a profound source of spirituality.
- Carl Sagan
Reply With Quote
Old 12-15-2004   #3 (permalink)
TINNY's Avatar
Explaining


 



Not Ranked  0 score     
Re: Sql

COOL!!! That's great if it works. I'll try it later on.
that'd saved me a lot
Reply With Quote
Old 12-15-2004   #4 (permalink)
TINNY's Avatar
Explaining


 



Not Ranked  0 score     
Re: Sql

what is the use of Indices and how to use them?
Reply With Quote
Old 12-15-2004   #5 (permalink)
Tormod's Avatar
Hypographer

Administrator
Senior Editor
Editor
Dev Team Member

Location:
Oslo, Norway
 
Tormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond repute
 



Not Ranked  0 score     
Re: Sql

You might want to check out this:

http://dev.mysql.com/doc/mysql/en/Tutorial.html

and

http://dev.mysql.com/doc/mysql/en/SQL_Syntax.html


----------------
Your Friendly Neighborhood Administrator

Want to lose the advertisements? Become a Sponsor!

Join our Facebook group or follow us on Twitter

Science is not only compatible with spirituality; it is a profound source of spirituality.
- Carl Sagan
Reply With Quote
Old 12-15-2004   #6 (permalink)
TINNY's Avatar
Explaining


 



Not Ranked  0 score     
Re: Sql

Thanks! I never knew there existed such a site.
Reply With Quote
Old 12-15-2004   #7 (permalink)
TINNY's Avatar
Explaining


 



Not Ranked  0 score     
Re: Sql

where can i find tutorials for phpMyAdmin?
Reply With Quote
Old 12-15-2004   #8 (permalink)
TINNY's Avatar
Explaining


 



Not Ranked  0 score     
Re: Sql

might as well ask another,
how do i redirect a visitor to another page using client-side scripting?
Reply With Quote
Old 12-15-2004   #9 (permalink)
Tormod's Avatar
Hypographer

Administrator
Senior Editor
Editor
Dev Team Member

Location:
Oslo, Norway
 
Tormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond repute
 



Not Ranked  0 score     
Re: Sql

Quote:
Originally Posted by TINNY
might as well ask another,
how do i redirect a visitor to another page using client-side scripting?
This has nothing to do with SQL. Try to keep the topics separate or it will be impossible to help you out.


----------------
Your Friendly Neighborhood Administrator

Want to lose the advertisements? Become a Sponsor!

Join our Facebook group or follow us on Twitter

Science is not only compatible with spirituality; it is a profound source of spirituality.
- Carl Sagan
Reply With Quote
Old 12-15-2004   #10 (permalink)
Tormod's Avatar
Hypographer

Administrator
Senior Editor
Editor
Dev Team Member

Location:
Oslo, Norway
 
Tormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond reputeTormod has a reputation beyond repute
 



Not Ranked  0 score     
Re: Sql

Quote:
Originally Posted by TINNY
where can i find tutorials for phpMyAdmin?
I'm not sure. I couldn't find any on the web. When I work with MySQL I never use myphpadmin except for very basic tasks, because I like to work with programs that have a clear GUI and can do things like backup my database to my local machine and see tables and data in a more practical way.

So I use this program:

MySQL Manager
http://www.ems-hitech.com/mymanager/

But I think MySQL.com are offering some free tools that do basically the same now.

Maybe Alexander or someone else can be more helpful here.


----------------
Your Friendly Neighborhood Administrator

Want to lose the advertisements? Become a Sponsor!

Join our Facebook group or follow us on Twitter

Science is not only compatible with spirituality; it is a profound source of spirituality.
- Carl Sagan
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


» Advertisement
» Current Poll
Who's the sexiest man alive? Johnny Depp or Robert Pattinson?
Johnny Depp - 27.27%
3 Votes
Robert Pattinson - 0%
0 Votes
Someone else (please specify) - 45.45%
5 Votes
I'm too macho to think a guy is sexy - 27.27%
3 Votes
Total Votes: 11
You may not vote on this poll.


All times are GMT -8. The time now is 10:46 AM.

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

We have been online since May 2000, and aim to be the best place to find and share science-related content of all kinds.

Share the love!

Please add more science to your life. Use our RSS feeds on your blog, your portal, or your favorite feedreader!


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
Copyright © 2000-2009 Hypography
Part of the Hypography - Science for Everyone Network