Does anyone know why I am getting a "Syntax error in Create Table statement". I am us

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JnMcCormi
    New Member
    • Apr 2014
    • 1

    Does anyone know why I am getting a "Syntax error in Create Table statement". I am us

    Code:
    CREATE TABLE FACULTY
    
    (School_ID char(3), Fac_LastName char(15), Fac_FirstName char(15), Fac_DOB char(15), Fac_SSN char(15), Fac_Address char(15), Fac_City char(15), Fac_State char(2), Fac_Zip char(5), Fac_salary decimal (8,2));;
    The error seems to be int he Face_salary decimal )8,2)); but I have replaced decimal with number, salary, etc... and same error returns

    Thanks in Advance
    Last edited by zmbd; Apr 1 '14, 03:08 PM. Reason: [Z{Please use the [CODE/] button to format posted script and formated text - Please read the FAQ}]
  • zmbd
    Recognized Expert Moderator Expert
    • Mar 2012
    • 5501

    #2
    PLEASE,

    VERY Carefully review what you have posted here, there are several potential typos... such as ";;" at the end of the script.

    Is this via VBA or other method?

    You also need to let us know which version of Access/Office you are using as there are differences in how the SQL is handled.

    Comment

    Working...