Setting the REMARKS

From: Bill Dennis (wjdennis_at_rmi.net)
Date: 04/27/04

  • Next message: Mladen Adamovic: "Re: Server Socket and Database (SAPDB)"
    Date: 27 Apr 2004 11:23:33 -0700
    
    

    Is it possible to programmatically set the column description
    (REMARKS) of a Microsoft Acess table column from Java? On DB2, for
    example, we use COMMENT ON (SOMECOLUMN IS 'SomeText'), but in
    Microsoft Access, this throws an SQLException.

    Our real goal in this is trying to determine if a column is nullable
    or not. Unfortunately, neither the IS_NULLABLE nor NULLABLE columns
    from the DatabaseMetaData.getColumns() method is valid: they ALWAYS
    say a column is nullable, whether it is or not.

    To get around the problem, we've started coding a REMARKS of
    "<Required>" on the columns that aren't nullable. This actually works
    fine. But our problem now is that we sometimes have to create a table
    programatically and want to set the comments from within the Java
    program.

    Any help would be appreciated.

    Bill Dennis


  • Next message: Mladen Adamovic: "Re: Server Socket and Database (SAPDB)"

    Relevant Pages

    • Re: C# can do but Java cannot
      ... Jim Sculley wrote: ... > And you think that a claim that C# can run GUI apps quickly and Java ... > remarks here. ... > Oracle a paragon of Java development is a serious mistake. ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: TeX pestilence
      ... younger than 12 years (the first release of Java was in 1995). ... are just slightly off the mark here (not unlike with your remarks ... about TeX): I gathered my first programming experiences using punch ...
      (comp.text.tex)
    • Re: application scope store
      ... I got my first Java certification in 1997. ... I know that in SOME cases, memory based ... caches work better. ... I mentioned you don't have Java skills based on your remarks about ...
      (comp.lang.php)
    • Re: best way to filter rows in real time
      ... I need to filter ITEM ID that have only certain "remark ... The remarks are not diplayed in any of the 15 columns or 300 ... You have to pass selection/filter params to your "Java Servlets"... ... You know client side computing, ...
      (comp.lang.javascript)
    • Re: best way to filter rows in real time
      ... I need to filter ITEM ID that have only certain "remark ... The remarks are not diplayed in any of the 15 columns or 300 ... It has NOTHING to do with javascript. ... You have to pass selection/filter params to your "Java Servlets"... ...
      (comp.lang.javascript)