Results 1 to 3 of 3

Thread: How to create an index on a column while creating table

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Jul 2007
    Answers
    2

    How to create an index on a column while creating table

    Hi Friends..

    Can anyone tell me, how to create an index on a column while creating the table (i.e in a create table statement) without using primary or unique key constraints


  2. #2
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: How to create an index on a column while creating table

    indexes are created separately as per the requirment.
    not along with create table command.


  3. #3
    Junior Member
    Join Date
    Jun 2007
    Answers
    18

    Re: How to create an index on a column while creating table

    It is not possible to create a index for a normal column at creation
    but
    Yes you can create for primary and unique key but its of no use the database define index for the 2 keys automaticly at runtime


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact