dbtable Questions

9

Solved

I'm just getting started learning SQLite. It would be nice to be able to see the details for a table, like MySQL's DESCRIBE [table]. PRAGMA table_info [table] isn't good enough, as it only has basi...
Lainelainey asked 25/7, 2010 at 18:23

1

I created person table as shown below: CREATE TABLE person ( id INTEGER, name VARCHAR(20) ); Then, trying to show the definition of person table with \d and \d+ got the error as shown below: pos...
Bengt asked 18/1, 2024 at 16:56

6

Solved

I had to search for many posts regarding these errors, but still I cannot fix the problem. Here is my code, can anyone help me to see what is going wrong? - (void) copyDatabaseIfNeeded { NSArra...
Panettone asked 24/8, 2012 at 4:41

4

Solved

I want to create table with no columns in sqlite3. It is possible in postgres database, but not in a sqlite3 one. Is there any way to achieve this, or is it simply not supported (maybe not in sql s...
Scuttle asked 30/12, 2010 at 23:55

29

Solved

What's the equivalent to show tables (from MySQL) in PostgreSQL?
Alvertaalves asked 20/4, 2009 at 19:7

7

Solved

I would like to list all tables in the liferay database in my PostgreSQL install. How do I do that? I would like to execute SELECT * FROM applications; in the liferay database. applications is a t...
Goyette asked 16/9, 2012 at 8:59

6

Solved

When I do a \dt in psql I only get a listing of tables in the current schema (public by default). How can I get a list of all tables in all schemas or a particular schema?
Dissertation asked 26/3, 2013 at 17:56

9

If we have to store the available positions at a company (i.e. Manager, Team Lead, ... etc). What are the best practices for storing it? I have two opinions with comments... "sure, welcoming yours"...
Thant asked 11/1, 2009 at 19:36
1

© 2022 - 2025 — McMap. All rights reserved.