sql query for creating a table with one primary key

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.