Results 1 to 3 of 3

Thread: [RESOLVED] create table , ms-access

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    Hyderabad, India
    Posts
    233

    Resolved [RESOLVED] create table , ms-access

    Hello,
    I want to create a table in ms-access database using SQL. Got an example while searching for it. For defining primary key constraint somthing like this has been used

    CONSTRAINT sys_iu_primaryKey PRIMARY KEY(sys_u_id));

    Somewhere else I found g_iu_primarykey. What is the difference between the two and when are they used?
    Thank you.
    Last edited by srisa; Apr 10th, 2006 at 09:13 AM. Reason: Issue resolved

  2. #2
    Fanatic Member space_monkey's Avatar
    Join Date
    Apr 2005
    Location
    神と歩くこと
    Posts
    573

    Re: create table , ms-access

    If i remember correctly that is just a label; just a name for the constraint. You could call it whatever you want (i think). Most places have some type of naming convention, such as (TABLENAME_FIELDNAME_primaryKey). You might want to look up what is the common practice for naming your primary key constraint, and stick to that naming convention so that your database is well organized.
    Using VB6 or VB.net 2008 with .net 3.5
    "Life... death... either way I'll be confined to a small cubicle!" - Hermes Conrad

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    Hyderabad, India
    Posts
    233

    Re: create table , ms-access

    Thank you. That really helped.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width