This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JDBC and the fly likes sql query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "sql query" Watch "sql query" New topic
Author

sql query

kamalkant rajput
Greenhorn

Joined: Nov 26, 2007
Posts: 22
hi to all,
I am very new to sql so can any one tell me is it possible to create a table without creating a database.Pardon me if this is a silly question but i think this is valid question.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30789
    
157

Kamalkant,
It's not a silly question at all!

A table must belong to a database. Some products come in with a built in database, so YOU may not have to create a database. But the database does need to exist.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
kamalkant rajput
Greenhorn

Joined: Nov 26, 2007
Posts: 22
thanks for reply,that means we need to have database to store any table;
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30789
    
157

Correct.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sql query