PHP
Sunday, 29 April 2012
MYSQL Database Command
Delete empty or null record:
DELETE FROM `table name` WHERE Column_name is null;
Two column unique key:
ALTER
TABLE
MyTable
ADD
UNIQUE
KEY
`
my_unique_key
`
(`
group_id
`,
`
user_id
`)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment