Top "Create-table" questions

The statement that creates a table in SQL (`CREATE TABLE ...`).

Create new Table in ruby on rails

I try to create a new table in rails. Every example I find and try sadly does not work with …

ruby-on-rails ruby database create-table
create table from another table in different database in sql server 2005

I have a database "temp" with table "A". I created new database "temp2". I want to copy table "A" from "…

sql-server sql-server-2005 select create-table
android sqlite CREATE TABLE IF NOT EXISTS

Having a little problem with creating new tables. When I use the CREATE TABLE command my new tables form as …

android sql sqlite create-table
Create table but Drop it if the table exists already

I am working on a request where I have to create a table to insert some data. So, obviously I …

sql teradata create-table drop-table
How to create a table inside of a procedure in Oracle?

I want to create a table inside of a procedure. I tried to put the create query in a string …

sql oracle stored-procedures create-table
Column, parameter, or variable #10: Cannot find data type

I'm trying to create table from template code. This template code is working: CREATE TABLE [dbo].[Table1] ( [Field1] [int] NULL, […

sql-server tsql sqldatatypes create-table
SQLite composite key (2 foreign keys) Link table

I've read the rather cool styled BNF grammar for the SQLite create table statement found here: http://www.sqlite.org/…

sqlite database-design create-table
Adding named foreign key constraints in a SQL Create statement

I currently have: CREATE TABLE galleries_gallery ( id INT NOT NULL PRIMARY KEY IDENTITY, title NVARCHAR(50) UNIQUE NOT NULL, description …

sql sql-server postgresql constraints create-table
PostgreSQL: Create table if not exists AS

I'm using PostgreSQL and am an SQL beginner. I'm trying to create a table from a query, and if I …

sql postgresql create-table
Creating one Table from three different Tables

I have three tables in SQL and I need them to all be combined into one. I need all the …

sql-server create-table