Migrate DDL from DB2 To ACCESS 2010

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RedGoldPhoenix
    New Member
    • Nov 2013
    • 3

    Migrate DDL from DB2 To ACCESS 2010

    Hi
    I wish to migrate DDL from DB2 to ACCESS 2010

    So I delete "CREATE DATABASE" , "CREATE TABLESPACE" change " FOR SBCS DATA NOT NULL," in " NOT NULL,"
    Delete line which contains "SET CURRENT" etc. ...

    My problem is with Label

    I really want to load descriptions Columns

    Cold you help me to modify the SQL syntax
    For example I have this but that does not work

    --
    LABEL ON TABLE TABLENAME IS 'COBOL - CICS Access';
    --
    LABEL ON TABLENAME
    (CB7MODULENAME IS 'Load Module ',
    CB7VALUE IS 'Value ',
    CB7VARIABLE IS 'Variable ',
    CB7PARMNAME IS 'Parameter ',
    CB7ACTION IS 'Action ',
    CB7SRCLINE IS 'Line ',
    CB7SOURCELIB IS 'Source Lib ',
    CB7SOURCEMEM IS 'Source Member ',
    CB7MAINLIB IS 'Main Lib ',
    CB7MAINPGM IS 'Main Program ',
    SYSTEMCOBOL IS 'System ',
    XXRDATINFO IS 'DatAddInfo ',
    XXRDATENV IS 'Environment ',
    XXRDATCLIENT IS 'Client ');
    --

    Could you help me ?
  • zmbd
    Recognized Expert Moderator Expert
    • Mar 2012
    • 5501

    #2
    You might find the following link of some help:
    How to use common Data Definition Language (DDL) SQL statements for the Jet database engine

    The second link that may prove helpful is Data Definition Language: SQL This is part two of the series, you'll want to read part three as well.

    What you are doing is not often done in Access so the best of luck.
    -z

    Comment

    • RedGoldPhoenix
      New Member
      • Nov 2013
      • 3

      #3
      Thanks a lot Z for your message
      I'm going to read you link
      If I got questions I'll be back ;)

      See you

      Comment

      • zmbd
        Recognized Expert Moderator Expert
        • Mar 2012
        • 5501

        #4
        >Forgot<
        You might need this crossreference too:
        Field type reference - names and values for DDL, DAO, and ADOX

        Comment

        • RedGoldPhoenix
          New Member
          • Nov 2013
          • 3

          #5
          Hi

          I found for labels ou must used the command COMMENT to add comments for Example:

          on tables:
          Code:
          COMMENT Nom_de_la_table IS 'Commentaires';
          For collums
          Code:
          COMMENT Nom_de_la_table.Nom_de_la_colonne IS 'Commentaires';
          Last edited by zmbd; Nov 29 '13, 05:50 PM. Reason: [z{removed excesive returns, proper grammer, added code tags}]

          Comment

          Working...