Omgili - forum search, search forums  
  

Discussions about database tables

Displaying 1 - 10 out of 73,200 discussions.  
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
I need to drop all the tables in a database without knowing their names beforehand. The typical procedure is to drop and then recreate the database but this is not an option. What is the best way to to it?
Started by on , 4 posts by 4 people.  
There was an entry on the Xaprb blog recently which covers this nicely <databaseName> -N -e 'show... .
You should use the information_schema tables to fetch the metadata about the database, and then drop the tables listed there.
Does the MySQL command : FLUSH TABLES; flush every table in the current database, or every table on the server ? I'm using MySQL 5.0 - the documentation is unclear, although it does mention that : FLUSH TABLES WITH READ LOCK; will do so for ALL databases...
Started by on , 4 posts by 4 people.  
There is no mention of database-specific table caches, there seems to be only one_error(): No Database selected with "flush tables" there is no mysql_error, so i think the answer, as you did.
Recently used tables.
Let's say I want to build a gaming website and I have many game sections. They ALL have a lot of data that needs to be stored. Is it better to make one database with a table representing each game or have a database represent each section of the game?...
Started by on , 17 posts by 17 people.  
Why that information." Managing....
I'm not sure this is correct, but I think you want to do one database with 5 tables because (along I would always opt for one database absent a specific and convincing reason for doing otherwise.
Ask your Facebook Friends
I can use select * from sys.tables in mssql to show a list of all tables in the current database. Is there anyways I can use similar syntax to show list of tables in another database? Say I am using A with use A statement, can I show tables in database...
Started by on , 3 posts by 3 people.  
To use your example: use a; go select * from sys.tables; -- selects table info * from your_database_name.information....
This does it for me (MS SQL 2005 and newer): select * from your_database_name.sys.tables Keep on that database.
How do I drop all empty tables from a MySQL database leaving only the tables that have at least 1 record?
Started by on , 3 posts by 3 people.  
table, because I did not found a way to perform one query on all tables in one query) It is the same do it: DELIMITER $$ DROP PROCEDURE IF EXISTS `drop_empty_tables_from` $$ CREATE PROCEDURE `drop_empty_tables_from`(IN schema....
I want to be able to create a PDF or an image of a MySQL database. It should have one box per table and each box should list all the columns in the table. I don't need lines going between various forgein keys or show info on default types or even the ...
Started by on , 5 posts by 5 people.  
Here is a table containing all features for the different database of your database.
This report can be exported to PDF.
Dbdesc includes a built-in report engine and report viewer to easily browse database documentation.
Is there a way to enable STRICT_ALL_TABLES for a single MySQL database?
Started by on , 3 posts by 3 people.  
Set sql_mode = 'STRICT_ALL_TABLES'; will do it..
Could do this in the config files of specific users .
Session when working on a particular database.
My database is not in UTF8, and I'd like to convert all the tables to UTF8, how can I do this? Thank you.
Started by on , 4 posts by 4 people.  
Password=password --execute="DROP DATABASE dbname; CREATE DATABASE dbname CHARACTER SET utf8 COLLATE this: ALTER TABLE tab CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci; For the whole database I don't-mysql-tables....
Delete all rows from all tables in a SQL Server database
Started by on , 4 posts by 4 people.  
Always a good idea to have the full db creation scripts anyway so that may be the easiest .
From all tables using an approach like Rubens suggested, or you could just drop and recreate all the tables.
What is the best way to get the names of all of the tables in a specific database on SQL Server?
Started by on , 10 posts by 10 people.  
U' How can I do the equivalent of “SHOW TABLES” in T-SQL? SELECT sobjects.name FROM sysobjects/questions/465014/list-table-names http://stackoverflow.com/questions/420741/getting-list-of-tables-and-fields-in-each-in-a-database....
Page: 1   2   3   4   5   6   7   8   9   10  

Related Message Boards & Forums

  • Stack Overflow
  • Server Fault
Related Searches
Database Table    database sql ver tables    microsoft access database array in table    drop a table if exists in access database    symantec endpoint protection database table definitions    80004005 "Microsoft JET Database Engine" CREATE TABLE CSV    how to extract text file from database table using ssis    select more than one column from a database table    find the tables spaces available in the database    database error 2289 at INS access to table DDLOG   
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost