Click here to Skip to main content
15,896,063 members
Home / Discussions / Database
   

Database

 
GeneralRe: Which DB to use? Pin
johnb10-Nov-02 22:27
johnb10-Nov-02 22:27 
GeneralRe: Which DB to use? Pin
Daniel Turini11-Nov-02 0:24
Daniel Turini11-Nov-02 0:24 
GeneralRe: Which DB to use? Pin
johnb11-Nov-02 0:36
johnb11-Nov-02 0:36 
AnswerRe: Which DB to use? Pin
Christian Graus11-Nov-02 0:29
protectorChristian Graus11-Nov-02 0:29 
GeneralRe: Which DB to use? Pin
johnb11-Nov-02 0:37
johnb11-Nov-02 0:37 
GeneralRelationship problem Pin
leppie10-Nov-02 4:02
leppie10-Nov-02 4:02 
GeneralRe: Relationship problem Pin
Daniel Turini10-Nov-02 22:26
Daniel Turini10-Nov-02 22:26 
Generalcreating a bunch of tables from a central table Pin
Like2Byte8-Nov-02 10:08
Like2Byte8-Nov-02 10:08 
Hey, thanks for reading my thread.

In MS Access I have this central table called 'TableOfTables.' It contains the following fields(types):DB_FIELD0(autonumber), DB_CITIES(string), and DB_LENGTH(number).

It contains approximately 400 entries: An auto-generated number(1, 2, 3, ...), a city name, and the number of entries for that city in the last field.

I need to extract the city name, from TableOfTables, to create a new table within the database such that the new table's name will be the extracted city name and the table will contain an address field, a phone number, an e-mail address, etc. (This isn't the exact stuff I need but it helps with the point and it's FAR shorter than what I really need.;P)

I Opened the DB in Access, created a queary with only TABLEOFTABLES, switched to the SQL panel and tried:

CREATE TABLE TABLEOFTABLES.DB_REGIONS(DB_FIELD0 integer not null, DB_FIELD1 varchar(20) not null, DB_FIELD2 varchar(20) not null, DB_FIELD3 varchar(20) not null)

hopeing to extract the city names from TABLEOFTABLES and generate these ~400 tables with the fields given.

Confused | :confused: What is the SQL statement I could use to complete this task?Confused | :confused:

Thanks again.
GeneralRe: creating a bunch of tables from a central table Pin
Pyt8-Nov-02 10:17
Pyt8-Nov-02 10:17 
GeneralRe: creating a bunch of tables from a central table Pin
Vagif Abilov10-Nov-02 6:03
professionalVagif Abilov10-Nov-02 6:03 
GeneralRe: creating a bunch of tables from a central table Pin
Like2Byte11-Nov-02 2:34
Like2Byte11-Nov-02 2:34 
GeneralDataSets and XML Pin
Karen8-Nov-02 6:31
Karen8-Nov-02 6:31 
GeneralRe: DataSets and XML Pin
Rickard Andersson2010-Nov-02 20:57
Rickard Andersson2010-Nov-02 20:57 
GeneralRe: access to a mysql-database Pin
Vasudevan Deepak Kumar9-Nov-02 0:19
Vasudevan Deepak Kumar9-Nov-02 0:19 
GeneralSerious and Dreaded OleDB Adapter DB2 Driver Crashing Problem Pin
Vasudevan Deepak Kumar7-Nov-02 20:00
Vasudevan Deepak Kumar7-Nov-02 20:00 
GeneralTrivial SQL (i think) Pin
alex.barylski7-Nov-02 11:33
alex.barylski7-Nov-02 11:33 
GeneralRe: Trivial SQL (i think) Pin
Paul Watson7-Nov-02 11:47
sitebuilderPaul Watson7-Nov-02 11:47 
GeneralRe: Trivial SQL (i think) Pin
alex.barylski7-Nov-02 12:58
alex.barylski7-Nov-02 12:58 
GeneralRe: Trivial SQL (i think) Pin
alex.barylski7-Nov-02 13:10
alex.barylski7-Nov-02 13:10 
GeneralRe: Trivial SQL (i think) Pin
Paul Watson7-Nov-02 21:08
sitebuilderPaul Watson7-Nov-02 21:08 
GeneralRe: Trivial SQL (i think) Pin
markkuk8-Nov-02 2:08
markkuk8-Nov-02 2:08 
GeneralRe: Trivial SQL (i think) Pin
alex.barylski8-Nov-02 8:11
alex.barylski8-Nov-02 8:11 
GeneralSELECT ... FOR XML AUTO Pin
Alexandru Savescu6-Nov-02 23:42
Alexandru Savescu6-Nov-02 23:42 
GeneralSaving a recordset in an XML stream Pin
Alexandru Savescu5-Nov-02 23:33
Alexandru Savescu5-Nov-02 23:33 
GeneralRe: Saving a recordset in an XML stream Pin
Richard Deeming6-Nov-02 2:54
mveRichard Deeming6-Nov-02 2:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.