Results 1 to 2 of 2
  1. #1
    learning_graccess is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Oct 2011
    Posts
    40

    first create table in MS access data definition sql view

    I tried to create my first table using sql in ms access but it failed.



    My codes are like below. It was showing "Syntax error in field definition". What could be the problem??

    Code:
    CREATE TABLE loom
    (
    column1 integer,
    column2 integer,
    column3 integer,
    );

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Remove the last , in your sql.

    Also see
    http://www.techonthenet.com/sql/tables/create_table.php

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 6
    Last Post: 10-22-2022, 08:27 AM
  2. Corrupt Table in Data Set View Access 2010
    By Peter Murray in forum Access
    Replies: 1
    Last Post: 11-29-2010, 04:16 PM
  3. Replies: 3
    Last Post: 08-17-2010, 02:49 PM
  4. Can access have a table view inside a form
    By mossman in forum Access
    Replies: 5
    Last Post: 01-17-2010, 12:19 PM
  5. Replies: 0
    Last Post: 08-13-2008, 03:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums