Subhash Sharma

Subhash Sharma
Subhash Sharma

This is Subhash Sharma(Software Engineer) Blog

Welcome to this blog and find every solution.............

Search This Blog

Software Engineer(Subhash Sharma)

Software Engineer(Subhash Sharma)
Software Engineer

Saturday, March 13, 2010

Primary and Foreign Key

//Priamry Table

create table tbluser(
UserId varchar(50) constraint [UID] primary key not null,
UserName varchar(100) not null)

//Foreign Key Table

create table tblUserPermission(
UserID varchar(50) constraint fkUId foreign key (UserId) references tbluser(UserId) not null)

No comments:

Post a Comment