Interview Questions
Search
Legacy
Tests
Repository
DashBoard
Java
Java 8
Java 7
Java Abbreviations
OCJP / SCJP
Class List
New in Java 8
Java Exceptions
Spring Exceptions
Java Enums
Java 8 Lambda
Java 8 java.time
Big Data
Discussion Forum
Humor
Classes Search
Subscribe
Search Database SQL / Scripts
Help us in improving the repository. Add new Queries/Scripts through 'Submit Database SQL / Scripts ' link.
Search
Submit SQL/Scripts
Database Queries/Scripts
Sample 1. Set Primary Key on an already created table
ALTER TABLE EMPLOYEE
ADD CONSTRAINT EMPLOYEE#ID_PRIMARY_KEY
PRIMARY KEY (ID);
Like
Feedback
set primary key after table creation
add primary key constraint
Correction
Suggestion
Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by
FeedBurner