sql query for creating a table with one primary key

Home Forums Database Sql Server sql query for creating a table with one primary key

This topic contains 0 replies, has 1 voice, and was last updated by  MikeJ 6 years, 4 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3203

    MikeJ
    Member

    Hi i am sharing a query for creating a Sql table with primary key.
    See this query:


    CREATE TABLE tblEmployee
    (
    Employee_id int PRIMARY KEY,
    Employee_name char(50),
    Employee_address char(50),
    Employee_Department money,
    )

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.