Search
 
SCRIPT & CODE EXAMPLE
 

SQL

sqlite unique multiple columns

create table projects (
    _id integer primary key autoincrement,
    project_type text not null,
    name text not null,
    description text,
    last_updated datetime default current_timestamp,
    date_created datetime default current_timestamp,
    unique (project_type, name)
);
Comment

PREVIOUS NEXT
Code Example
Sql :: insert into select mysql 
Sql :: how to delete data from sql database in android 
Sql :: drop CHECK constraint sql 
Sql :: mysql ilike 
Sql :: sql select lowest value row 
Sql :: mysql function variable 
Sql :: what is datetime in sql server 
Sql :: how to ascending order in sql 
Sql :: mysql url data type 
Sql :: delete row by id mysql 
Sql :: how to select random rows from a table 
Sql :: what is a query in sql 
Sql :: t_sql contains 
Sql :: is sql fast 
Sql :: how to get initials in sql 
Sql :: default password for mysql_secure_installation in mac 
Sql :: mysql locate 
Sql :: Get all index postgres 
Sql :: postgres data location 
Sql :: Using GROUP BY in MySQL Join Table 
Sql :: not regexp_like in oracle 
Sql :: sql add column with default value 
Sql :: delete * from where id = 1; 
Sql :: oracle create tablespace autoextend 
Sql :: create function postgresql 
Sql :: postgresql backup and restore globals and data 
Sql :: reset postgres table index to next max value 
Sql :: creating a view in sql 
Sql :: union all query in sql 
Sql :: change column name sql 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =